[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: template return value

Subject: RE: template return value
From: "Corey Spitzer" <cspitzer@xxxxxxxxx>
Date: Wed, 12 Dec 2001 12:02:11 -0600
xsl template return
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)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.