Jump to content

How to insert a count


Guest bern

Recommended Posts

Hi I have to loop through a number of lines and also insert the line count into the transformed XML.Is there anyway I can do this through XSL function?Thanks

Link to comment
Share on other sites

  • 2 weeks later...

WTF? I've never heared of this <xsl:count/> element...I know the count() function, but that's not exactly useful here.If each line is in it's own element, you can simply use the position() function for-each such element. If not... I have to know how you plan to display the content of each line.

Link to comment
Share on other sites

  • 2 weeks later...

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...