[Home] [By Thread] [By Date] [Recent Entries]
Mark Williams wrote:
Hi,Hello I think position() could do the job:
#xsl
<xsl:template match="/">
<xsl:for-each select="/root/node">
<xsl:value-of select="position()"/>
</xsl:for-each>
</xsl:template>
# xml-file
<root>
<node/>
<node/>
</root>Regards ThomasRasmussen XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



