How to add the increment variable in xslt
i have table , with student details,
i want to Add S.No front of the Firstname ,
like
1 firstnamJoth
With you current implementation you should be able to use:
<td><xsl:value-of select="position()"/></td>
within the xsl:for-each loop to output a number which will increase for every iteration.
xsl:for-each