This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: XML transformation output to be in NON UTF-16 on MSXML 3.0.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]