Jump to content
Server Maintenance This Week. ×

xslt: excluding fields containing certain values


This topic is 7264 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

This topic is 7264 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.