xsl-list
[Top] [All Lists]

Re: XSL to XSLT conversion issue

2003-04-15 16:08:12
S Woodside wrote:
 <xsl:variable name="current-position" select="position()"/>
 <xsl:value-of select="$foo[position() &gt; $current-position]"/>

Wouldn't the variable be evaluated in the context of $foo ?

XSLT variables are not macros. The value is computed in the context
in which the variable wass declared.

J.Pietschmann


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list