Hi
I got a problem with passing a parameter via url to a xsl!
This is my XSL:
<xsl:stylesheet xmlns:xsl=" version = "1.0">
<xslaram name="lang">it</xslaram>
<xsl:template match="/">
<xsl:value-of select="$lang"/>
</xsl:template>
</xsl:stylesheet>
And this is my XML:
<!-- edited with XML Spy v3.5 -->
<?xml-stylesheet type="text/xsl" href="url.xsl"?>
<ueb>
</ueb>
now i wanna pass a the parameter $lang like this: myXML.xml?lang=en and write it to the browser!
But when i write the $lang it write always the default Value (it)!?!?
Can anybody tell me why???
Thanks Dani
I got a problem with passing a parameter via url to a xsl!
This is my XSL:
<xsl:stylesheet xmlns:xsl=" version = "1.0">
<xslaram name="lang">it</xslaram>
<xsl:template match="/">
<xsl:value-of select="$lang"/>
</xsl:template>
</xsl:stylesheet>
And this is my XML:
<!-- edited with XML Spy v3.5 -->
<?xml-stylesheet type="text/xsl" href="url.xsl"?>
<ueb>
</ueb>
now i wanna pass a the parameter $lang like this: myXML.xml?lang=en and write it to the browser!
But when i write the $lang it write always the default Value (it)!?!?
Can anybody tell me why???
Thanks Dani