Go to standardXPath function: number position ()
Standard excerpt:
The position function returns a number equal to the context position from the expression evaluation context.
Examples (xslt:xml): Overview
16:1
33:3
37:8
38:8
41:9
59:13
78:17
79:17
83:18
87:8
88:8
89:8
90:8
91:8
92:8Interactive xlab: [xpath] [xsl:value-of] [xsl:template]