Subject: Re: Xalan Encoding Problems
From: Jörg Heinicke <joerg.heinicke@xxxxxx>
Date: Tue, 30 Oct 2001 00:15:49 +0100
|
Hi Raul,
we use Xalan in complete production-process. Because of umlauts in German
language äöü or the letter ß we often use ISO-8859-1 and we never had any
problems. I can only assume that the file, which you want to transform,
isn't correctly encoded. Because of your mail I tested the following:
XML
<?xml version="1.0" encoding="iso-8859-1"?>
<test>äö©ü©</test>
XSL
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="test">
<xsl:value-of select="text()"/>
</xsl:template>
</xsl:stylesheet>
Output
<?xml version="1.0" encoding="UTF-8"?>
äö©ü©
You can try it yourself. It will work! It's not a Xalan problem.
Joerg
> Hi:
>
> I downloaded the latest version of Xalan and tried to use it to process a
> barcode generator stylesheet that I downloaded from RenderX. Xalan dies
> immediately because the it cannot read the encoding which is set to
> ISO-8859-1. In addition, the author placed the copyright symbol which is
> not part of the ASCII set and Xalan also dies on this. Saxon and XT do
not
> have this problem and are able to render the barcode.
>
> Is there anything I can do to fix this? The barcodes need this encoding
> otherwise it cannot product the veritical lines.
>
> Thanks
>
> Raul
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Jörg Heinicke - Mon, 29 Oct 2001 18:23:47 -0500 (EST) <=
David_N_Bertoni - Mon, 29 Oct 2001 12:39:01 -0500 (EST)
Raul Rodriguez - Tue, 30 Oct 2001 10:43:02 -0500 (EST)
David_N_Bertoni - Tue, 30 Oct 2001 11:20:56 -0500 (EST)
Raul Rodriguez - Tue, 30 Oct 2001 14:25:41 -0500 (EST)
|
|