xsl-list
[Top] [All Lists]

Value-of varible question

2004-04-16 13:14:03
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[(_at_)lang=$local]"/>
                </Title>
        </xsl:template>
But this will
<xsl:template match="Title">
                <Title>
                        <xsl:copy-of
select="/iThink.ePulp/Page/Content/Meta/Title[(_at_)lang='en-EN']"/>
                </Title>
        </xsl:template>

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