且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

xml xslt 如何使用增量变量

更新时间:2021-12-19 06:09:59

通过您当前的实现,您应该能够使用:

With you current implementation you should be able to use:

<td><xsl:value-of select="position()"/></td>

xsl:for-each 循环中输出一个数字,该数字会随着每次迭代而增加.

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