This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Call Template with variable name
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Call Template with variable name
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Mon, 15 Oct 2001 11:36:14 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Why is there a syntax problem with the following:
> <xsl:call-template name="$abc"/>
> i.e. is there a way to call a template whose name is
> specified with the
> variable 'abc'?
It can't be done in standard XSLT.
Saxon has an extension to allow it.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list