[xsl] Prob with encoding

Subject: [xsl] Prob with encoding
From: António Mota <amsmota@xxxxxxxxx>
Date: Wed, 27 Apr 2005 11:42:16 +0100
Hi all:

I'm transforming a doc that has a xml decl like

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

in wich i have a lot of latin chars (like in "Caracterizagco"). When i
put no xsl:output on my xslt, or if i put it without encoding, the
output appears correctly but the encoding appears as "utf-8"

If i put a xsl:output encoding="ISO-8859-1" then the output appears
with a ISO-8859-1 declaration but the chars are all wrong.

Don't understand this beahviour that it seems absolutly contradictory to me.

Any hints?

Oh, i've used Saxon 6.5.3 for this.


Thanks.

Current Thread