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

Template "return value" (was: tail-end recursion)

Subject: Template "return value" (was: tail-end recursion)
From: "Eliot, Topher" <Christopher_Eliot@xxxxxxxxxxxxx>
Date: Thu, 12 Oct 2000 09:30:16 -0600
call template return value
A minor point:  templates (invoked by call-template) can return a
value, sort of.  For example, I use:

      <xsl:attribute name="descriptionString"><xsl:call-template
name="CreateProcessDescString" /></xsl:attribute>

The CreateProcessDescString named template "outputs" the various pieces of
the string; the don't really go to the output tree, but instead are
"returned" from the template call and become the value of the
descriptionString attribute.

> imho optimizing tail-end recursion is _very_ significant,
> given that variables are "final" and there is no "return value"
> from templates.
> 


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


Current Thread

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.