[xsl] Value-of varible question

Subject: [xsl] Value-of varible question
From: "John Hamman" <John@xxxxxxxxxxxxxxxxx>
Date: Fri, 16 Apr 2004 16:14:03 -0400
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>
But this will
<xsl:template match="Title">
		<Title>
			<xsl:copy-of
select="/iThink.ePulp/Page/Content/Meta/Title[@lang='en-EN']"/>
		</Title>
	</xsl:template>

Does anyone know why and is there a way I can get around it?

Current Thread