RE: [xsl] Value-of varible question

Subject: RE: [xsl] Value-of varible question
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Fri, 16 Apr 2004 22:25:39 +0200
> -----Original Message-----
> From: John Hamman [mailto:John@xxxxxxxxxxxxxxxxx]
> 
> For some reason this won't work 
> <xsl:param name="local" select="en-EN"/>
> <xsl:template match="Title">
> 		<Title>
> 			<xsl:copy-of
> select="/iThink.ePulp/Page/Content/Meta/Title[@lang=$local]"/>
> 		</Title>
> 	</xsl:template>
<snip />
 
> Does anyone know why and is there a way I can get around it?

Yes. Use :

<xsl:param name="local" select="'en-EN'" />

(mind the quotes..)


Cheers,

Andreas

Current Thread