Jump to content

getting previous row's field.


macaroni

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

Recommended Posts

How do I go about getting the value of a field from the previous row from which my XSLT for loop is currently on.

I need a way to get the value of a field 'category' from the previous row to compare to the current value

of the field 'category'

Below is my sample code:

<xsl:for-each select="/filemaker:FMPDSORESULT/filemaker:ROW">

<xsl:variable name="category"><xsl:value-of select="filemaker:category" /></xsl:variable>

</xsl:for-each>

Any ideas/suggestions would be appreciated....

Thanks.

Link to comment
Share on other sites

This topic is 7580 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.