As far as I know, the name attribute value can not be a variable (for
apply-templates or call-template).  This is according to the XSL spec.

If you have a limited number of templates you could call, you should use a
<xsl:choose> statement.  It's a bit more verbose, but it will get the job
done.

James

-----Original Message-----
From: Honza Pazdziora [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 1:44 PM
To: Sablotron Mailing List
Subject: Re: [Sab] Call-template and name via variable


                <xsl:call-template name="$what"/>

Reply via email to