[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: new feature desired: return variable value


Subject: Re: new feature desired: return variable value
From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Dec 1999 16:07:11 +0000 (GMT)

Paul Levin writes:
 >     I would like to see the ability for a named template to either
 > return a value (which could be assigned to a variable in the calling
 > template) 

just do it. no need for any extra features in XSLT.

  <xsl:variable name="foo">
    <xsl:call-template name="bar"/>
  </xsl:variable>

what "bar" does will be in the variable $foo

sebastian


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



Current Thread