How to use a counter in a XSL Loop (xsl:for-each)
To use a counter in a XSL For-Each block, you can use the position() function, the Counter starts at value 1. Sample XSL see also MSDN position Function
All the Code Snippets and Samples you need
To use a counter in a XSL For-Each block, you can use the position() function, the Counter starts at value 1. Sample XSL see also MSDN position Function