RE: [xsl] is the variable really out of scope??

Subject: RE: [xsl] is the variable really out of scope??
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 6 Dec 2002 09:50:13 -0000
>         <xsl:variable name="k" select="$s mod 1" />
>         k = <xsl:value-of select="$i" /><br />
> 
>         <xsl:variable name="i" select="$s - $k" />

You can't refer to a local variable before it's declared.

I think the second line above was meant to read

>         k = <xsl:value-of select="$k" /><br />

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread