Subject: RE: Calculations in XSL
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 25 Oct 1999 18:16:21 +0100
|
> > <xsl:variable name="sum" select="$a + $b"/>
>
> The select attribute of xsl:variable expect a nodeset, so you should
> use the following instead :
>
> <xsl:variable name="sum">
> <xsl:value-of select="$a + $b"/>
> </xsl:variable>
>
Not so. The select attribute of xsl:variable can be any expression.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Sebastien Sahuc - Mon, 25 Oct 1999 17:18:51 +0200
Kay Michael - Mon, 25 Oct 1999 18:16:21 +0100 <=
Kay Michael - Mon, 25 Oct 1999 18:19:09 +0100
|
|