xsl-list
[Top] [All Lists]

encoding problem

2004-04-12 06:16:54
Hi,

i think i've got a kind of encoding problem. Hope somebody can help me... I'm creating an html-combobox through xslt, for navigating the output html-file. The user chooses a value, clicks the button and jumps to the anchor. Everything works fine, until the value includes an "ß" (as seen eg in the german: großbritannien)

This is the code, which creates the link in the combo-box

<xsl:element name="option">
<xsl:attribute name="value">
<xsl:text>#</xsl:text><xsl:value-of select="."/></xsl:attribute>
<xsl:value-of select="."/>

The HTML-Output is eg: #Großbritannien

And this code produces the anchor-tag. Here the HTML-Output is a different one. In this case it's HTML-Output is: #Gro%C3%9Fbritannien So it's obvious the link from above doesn't find a corresponding anchor...

<a>
<xsl:attribute name="name">
<xsl:value-of select="./text()"/>
</xsl:attribute>
<xsl:attribute name="class">Modellstyle</xsl:attribute>
<xsl:value-of select="./text()"/>
</a>



Any ideas? Thanx in advance, Daniel


<Prev in Thread] Current Thread [Next in Thread>