[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: 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:  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
  • template return value
    • Charly - Wed, 12 Dec 2001 12:38:19 -0500 (EST)
      • Corey Spitzer - Wed, 12 Dec 2001 13:02:15 -0500 (EST) <=
      • Jeni Tennison - Wed, 12 Dec 2001 13:13:19 -0500 (EST)
        • Charly - Wed, 12 Dec 2001 13:50:09 -0500 (EST)
      • <Possible follow-ups>
      • Avula, Raj - Wed, 12 Dec 2001 12:51:10 -0500 (EST)
        • Charly - Wed, 12 Dec 2001 13:18:03 -0500 (EST)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member