June 5, 200421 yr Newbies hi guys, we'd like to exclude certain fields from an xml-export, using an xslt. these fields can be identified by its value: it's always 0 (zero). what would be the code, to achieve this? thanks in advance. michael.
June 6, 200421 yr I'm not sur that I have understood the question. If you want only use a field than not = "0" then use the "test" function. <xsl:if test="fmp:COL[x]/fmp:DATA != '0' "> <tag> <xsl:value-of select="fmp:COL[x]/fmp:DATA"/> </tag> </xsl:if> != means "is not" In attachment : - fmp_output.xml : the raw filemaker xml exportation - stylesheet.xsl : the stylesheet - final_output.xml : the transformed document example.zip
Create an account or sign in to comment