Subject: Re: [xsl] dynamically applying templates From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx> Date: Mon, 13 Sep 2004 13:48:09 -0400 |
At 01:27 PM 9/11/2004, you wrote:I had thought it might be nice to able to name each template and somehow apply those in the above, but nothing I try seems to be valid (e.g. I can't get away with <xsl:apply-templates name="$source/*[node-name(.) = node-name(current())]">).
No, you can't do this. (I assume you meant xsl:call-template name="..."/>.) But you could apply-templates select="..." to that node, and have a template to match it ... (in a mode if necessary).
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] dynamically applying temp, Wendell Piez | Thread | Re: [xsl] dynamically applying temp, Wendell Piez |
Re: [xsl] Namespace problem, Marc Schneider | Date | Re: [xsl] dynamically applying temp, Wendell Piez |
Month |