[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: passing template names
With Saxon you can do this.
Following is excerpt from Saxon 8.7.3 documentation: Saxon supports an alternative instruction saxon:call-template. This has the same effect as xsl:call-template, except that the name attribute may be written as an attribute value template, allowing the called template to be decided at run-time. The string result of evaluating the attribute value template must be a valid QName that identifies a named template somewhere in the stylesheet. Regards, Mukul On 7/7/06, Karl <call14@xxxxxxxxx> wrote: I am in a situation where in a particular section need to call different template dynamically based on which template invokes it. Though I can use <xsl:choose> or <xsl:if> to do that, i wish i pass the template name as a param value.
|
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
|