This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Indexing in xsl
<xsl:template match="orders">
<orders>
<xsl:for-each select="order">
<xsl:attribute name="{local-name()}{position()}-id">
<xsl:value-of select="@id"/>
</xsl:attribute>
</xsl:for-each>
</orders>
</xsl:template>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list