RE: Calculations in XSL

Subject: RE: Calculations in XSL
From: Sebastien Sahuc <ssahuc@xxxxxxxxxxxxxx>
Date: Mon, 25 Oct 1999 17:18:51 +0200
> <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>

Sebastien

> 
> If anyone knows of an example that works please could they send me
the
> script.
> 
> cheers alex
> 
> 
>  XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
> 


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


Current Thread