Subject: Re: Interation and Variables
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 9 Feb 2005 12:22:11 GMT
|
> This is not a elegant solution,
sniff:-)
> but resolve the problem.
hmm.
If you have a hundred items not 3 I'd write it this way:
<xsl:for-each select="(//node())[position() <= 100]">
<xsl:variable name="x" select="position()"/>
<xsl:value-of select="*[@ID=$x]/@Value"/>
<xs:text>;</xsl:text>
</xsl:for-each>
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
|