xml xslt how to use increment variable

后端 未结 1 1730
[愿得一人]
[愿得一人] 2021-01-26 08:12

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

1条回答
  •  花落未央
    2021-01-26 09:06

    With you current implementation you should be able to use:

    
    

    within the xsl:for-each loop to output a number which will increase for every iteration.

    0 讨论(0)
提交回复
热议问题