Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

accessing a first and last child


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

Recommended Posts

Posted

i am running in a for-each loop

can i in the loop access directly the first and last child

even after i left the first child and still didn't get to the last child?

thanks in advance

Peleg

  • 1 month later...
Posted

The first child is <xsl:value-of select="fieldName[1]" />

The last child is <xsl:value-of select="last(fieldName)" />

Is that what you wanted?

  • 1 month later...

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