|
Subject: RE: how to call a named template with a variable's value From: Kay Michael <Michael.Kay@xxxxxxx> Date: Thu, 27 Apr 2000 16:09:57 +0100 |
> 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: how to call a named template wi, David Marston/CAM/Lo | Thread | Broken link problems anyone?, Medina, Edward |
| RE: xsl:copy problem, Kay Michael | Date | RE: Displaying every 2 element valu, Kay Michael |
| Month |