|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Charsets in Saxon
I can only make guesses as to why this might happen. My first guess would be that the serialization was not actually done by Saxon. Alternatively, you might have used Saxon to serialize to a character stream, and then have used some other software to convert the characters to bytes. In other words, I need to know more about how you invoked the transformation, and in particular, the serialization phase. What kind of result object did you specify? Michael Kay > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Marcus Andersson > Sent: 05 February 2004 08:26 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Charsets in Saxon > > > 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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








