[Home] [By Thread] [By Date] [Recent Entries]
> <xsl:variable name="i">
> <xsl:value-of select="el1/aPosition"/>
> </xsl:variable>
>
> <xsl:value-of select="el1/*[position()={$i}]"/>
>
Write <xsl:value-of select="el1/*[position()=$i]"/>
or <xsl:value-of select="el1/*[number($i)]"/>
You should never have curly brackets inside an XPath expression.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



