Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Element names from a function call [Thread Next] Re: Element names from a function callTo: NULL Date: 4/4/2006 5:23:00 PM
mikea_59 wrote:
> Actually, what I am trying to do is invoke another template with
> xsl:call-template. The name is generated from the template, not a
> function.
>
> something like this:
> <xsl:element name="XYZ:{xsl:call-template....}">
>
> I know that won't work, but I don't know an alternate way to do it.
Well then you need e.g.
<xsl:variable name="variable-name"><xsl:call-template
name="template-name" /></xsl:variable>
<xsl:element name="XYZ:{$variable-name}">
--
Martin Honnen
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
