|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Calling a template dynamically?
I think it's not possibile, in fact, from the XSL documentation, this is the sintax of <xsl:call-template>: <xsl:call-template name=QName>
<xsl:with-param> *
</xsl:call-template>So, the "name" attribute must be a valid QName, not an Expression. I've had the same problem, and I've resolved it using a "static" template, calling it with a param whose value is the "dynamic" name of the node. Then, the template, with <xsl:choose>, select the appropriate transformation to apply. Other solutions? Alessio Mazzieri 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
|

Cart








