Subject: RE: Calculations in XSL
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 25 Oct 1999 18:19:09 +0100
|
>
> Keyword xsl:variable may not be used here.
>
> Are there circumstances where xsl:variable cannot be used?
> I'm using it like this:
>
> <xsl:variable name="sum" select="$a + $b"/>
>
Yes, there are lots of places xsl:variable cannot be used. For example, it
would be wrong to use it like this:
<xsl:apply-templates>
<xsl:variable name="sum" select="$a + $b"/>
</xsl:apply-templates>
Where did you use it?
And what XSL processor were you using?
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|