Thomas,
Your stylesheet doesn't seem to specify an output
encoding,
hence utf-8 is used by default. This is why your
non ASCII
character occupies two bytes. Try the following:
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output encoding="iso-8859-1">
...
BTW: <value>bl�des Teil</value> in your iso-8859-1
input should
work as well.
Regards,
Petr
Thomas Bopp wrote:
>
> Hello!
>
> I have the following xml code:
> <?xml version="1.0" encoding="iso-8859-1"?>
> ....
> <value>blödes Teil</value>
> ....
>
> and xsl:
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> ...
> <xsl:for-each select="value">
> <td><xsl:value-of select="."/></td>
>
> Which should generate "bl�des Teil". Unfortunately I always get
> "bl<C3><B6>des Teil"
> (this is the output of my shell, <C3><B6> are two characters in my
> browser).
> Is this a bug in sablotron, or did I do something wrong ? In the manual
> I read I can
> use values like "iso-...", etc if some library is installed.... My
> system is a sparc station
> with solaris 2.6. Is there a way to find out if my installation is
> correct ?
> ---Thomas
--
Petr Cimprich
Ginger Alliance Ltd.
www.gingerall.com