Re: Calculations in XSL

Subject: Re: Calculations in XSL
From: Paul Prescod <paul@xxxxxxxxxxx>
Date: Thu, 28 Oct 1999 03:37:49 -0400
Sebastien Sahuc wrote:
> 
> > <xsl:variable name="sum" select="$a + $b"/>
> 
> The select attribute of xsl:variable expect a nodeset, 

I don't think it does. Here's what the spec says:

"If the variable-binding element has a select attribute, then the value
of the attribute must be an expression and the value of the variable is
the object that results from evaluating the expression."

 Paul Prescod


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


Current Thread