[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Template "return value" (was: tail-end recursion)
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|