Go to standardXPath function: number last ()
Standard excerpt:
The last function returns a number equal to the context size from the expression evaluation context.
Examples (xslt:xml): Overview
65:3
82:19
83:18
87:8
88:8
89:8
90:8
91:8
92:8Interactive xlab: [xpath] [xsl:value-of] [xsl:template]