Subject: Re: Indexing in xsl
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 21 Feb 2002 13:46:19 GMT
|
<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
|