[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: XML transformation output to be in NON UTF-16 on MSXML 3.0.
From: "Stuart Celarier" <stuart@xxxxxxxxxxx>
Date: Wed, 24 Jul 2002 00:27:20 -0700
Rupesh,

> ...you receive
> the output of the transformNodeToObject in an XML Document. wow!!! the
> encoding is preserved.... now how do you read the xml? the .xml
property,
> returns the data in UTF-16...

Use the DOMDocument's save() method which uses the character encoding
declared in the XML declaration. If no encoding is declared, UTF-8 is
used.

Cheers,
Stuart



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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member