RE: [xsl] Call Template with variable name

Subject: RE: [xsl] Call Template with variable name
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 15 Oct 2001 11:36:14 +0100
> 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


Current Thread