[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Charsets in Saxon

Subject: RE: Charsets in Saxon
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 5 Feb 2004 10:05:23 -0000
saxon serialization
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.