Subject: Re: [xsl] call-template with parameterized name From: Vidar Ramdal <vramdal@xxxxxxxxx> Date: Thu, 7 Oct 2004 16:28:37 +0200 |
On Thu, 7 Oct 2004 15:23:00 +0100, David Carlisle <davidc@xxxxxxxxx> wrote: > > > change > <xsl:call-template name="$templateName"/> > > to <apply-templates select="$templateName"/> > > and change > > <xsl:template name="foo"> > > to > <xsl:template match="templatename[.='foo']"> Thanks, this was almost too obvious :) -- 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] call-template with parame, David Carlisle | Thread | [xsl] Flat XML: Problem getting ch, Jacqui Moore |
Re: [xsl] call-template with parame, David Carlisle | Date | Re: [xsl] xslt 2.0 and alternatives, Colin Paul Adams |
Month |