This is going to be a xpath query. In the input xml, elemt 'e' is the fifth child of root element. Using the apply template and template match, am at element 'e'. How can i get the value, 5(fifth child), within the template, e. I tried using position, but its value is coming as 1. Also, I do not want to alter anything else, except the line ,
<xsl:value-of select ="position()"/>, which is below <xsl:variable name="posi">.