[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: how to call a named template with a variable's value
> Hiya. I'm looking to call a named template like this: > > <param name="template-name"/> > > <call-template name="$template-name"> > <with-param name="foo">bar</with-param> > </call-template> > Standard XSLT provides no way of doing this. Saxon has an extension that allows you to write: <call-template name="{$template-name}" saxon:allow-avt="yes"> Mike Kay 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
|