Re: [xsl] XSL to XSLT conversion issue

Subject: Re: [xsl] XSL to XSLT conversion issue
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Wed, 16 Apr 2003 01:08:12 +0200
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



Current Thread