[Home] [By Thread] [By Date] [Recent Entries]

Subject: call-template with parameterized name
From: Vidar Ramdal <vramdal@xxxxxxxxx>
Date: Thu, 7 Oct 2004 16:18:36 +0200
Is something like this even remotely possible:

<xsl:variable name="templateName" select="/root/element/templatename"/>
<xsl:call-template name="$templateName"/>

This won't run, of course, but is there any way to accomplish what I want?

-- 
Vidar S. Ramdal <vramdal@xxxxxxxxx>
"In the beginning, the universe was created. This made a lot of people
very angry, and has been widely regarded as a bad idea."  --  Douglas
Adams

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member