RE: [xsl] template return value

Subject: RE: [xsl] template return value
From: "Corey Spitzer" <cspitzer@xxxxxxxxx>
Date: Wed, 12 Dec 2001 12:02:11 -0600
Given the info provided,
you could do something like this:

<xsl:template match="test">

<xsl:variable name="testoutput">Test Value:  <xsl:value-of
select="test/@value + 2 * 3"/></xsl:variable>

...


</xsl:template>





-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Charly
Sent: Wednesday, December 12, 2001 2:39 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] template return value


Hello,
Is it possible to write functions in XSL. If not is there a way around .
I need to call a template and store the output (or result) into a variable.

Please help



 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