[xsl] Charsets in Saxon

Subject: [xsl] Charsets in Saxon
From: Marcus Andersson <marcan@xxxxxxx>
Date: Thu, 05 Feb 2004 09:25:47 +0100
I'm having trouble with getting the encodings correct. I have

<?xml version="1.0" encoding="ISO-8859-1"?>

in both the source xml file and in the stylesheet and also

<xsl:output method="xml" indent="yes" encoding="ISO-8859-1"/>

in the stylesheet. The XML declaration in the resulting document is:

<?xml version="1.0" encoding="UTF-8"?>

Why is it so and what can I do to fix it (since I want ISO-8859-1 in the result)? The characters in the document looks good though (as if the actual encoding was ISO-8859-1)

The Saxon I use is the latest 7.x (8?) from Sourceforge.

/Marcus


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread