Subject: Re: question about call-template From: "Nikolai Grigoriev" <grig@xxxxxxx> Date: Tue, 1 Feb 2000 01:18:39 +0300 |
Mike Kay wrote: >Change your named template from ><xsl:template name="xyz"> >to ><xsl:template name="xyz" match="xsl:template[@name='xyz']"/> > >and call it like this: ><xsl:variable name="tname" select="'xyz'"/> ><xsl:apply-templates select="document('')/*/xsl:template[@name=$tname]"/> Mike, you're great!!! It was like a thunderbolt. I never suspected these arcane powers hidden inside XSLT. Thanks indeed for the insight! Cheers, Nikolai XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: question about call-template, Reid M. Pinchback | Thread | transform each character of a strin, Frederic Schwebel |
RE: attribute list, Mike Brown | Date | Newbie Question: Building Variables, jeffrod |
Month |