xsl-list
[Top] [All Lists]

call-template with parameterized name

2004-10-07 07:18:36
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(_at_)gmail(_dot_)com>
"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


<Prev in Thread] Current Thread [Next in Thread>