This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XML transformation output to be in NON UTF-16 on MSXML 3.0.
- From: "Stuart Celarier" <stuart at ferncrk dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 24 Jul 2002 00:27:20 -0700
- Subject: RE: [xsl] XML transformation output to be in NON UTF-16 on MSXML 3.0.
- Reply-to: xsl-list at lists dot mulberrytech dot com
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