Re: [xsl] Interation and Variables

Subject: Re: [xsl] Interation and Variables
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 9 Feb 2005 12:22:11 GMT
> This is not a elegant solution, 

> but resolve the problem.

If you have a hundred items not 3 I'd write it this way:

<xsl:for-each select="(//node())[position() &lt;= 100]">
  <xsl:variable name="x" select="position()"/>
  <xsl:value-of select="*[@ID=$x]/@Value"/>


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:

Current Thread