Subject: Re: [xsl] lang function in a named template From: Anton Triest <anton@xxxxxxxx> Date: Sun, 17 Oct 2004 22:33:17 +0200 |
Marc,This stylesheet must be indepedent of the XML source, therefore will be a named template or a match="/" template. The problem in both cases is that will be no context node to parse the xml:lang attribute.
<xsl:for-each select="/*"> <xsl:call-template name="PageFoot" /> </xsl:for-each>
(or, if you prefer, put the <xsl:for-each select="/*"> around the <xsl:choose> in the PageFoot template)
HTH, Anton
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] lang function in a named , Marc Franquesa | Thread | [xsl] node-set() confusion, Alexander Macdonald |
Re: [xsl] Pass variables through UR, Jen Jiang | Date | Re: [xsl] Pass variables through UR, Werner, Wolfgang |
Month |