[xsl] XML transformation output to be in NON UTF-16 on MSXML 3.0.

Subject: [xsl] XML transformation output to be in NON UTF-16 on MSXML 3.0.
From: "rupesh chavan" <rupesh_chavan@xxxxxxxxxxx>
Date: Mon, 22 Jul 2002 15:58:29 +0000
Hi all,


Requirement: To make XML transformation output to be in NON UTF-16 on MSXML 3.0. More precisely SHIFT-JIS.


Problem: .xml method output is UTF-16 BSTR format .loadXML method takes input only as BSTR which is again in only UTF-16 The output of the transformation is in UTF-16 The value that we have on reading the output method of IXSLProcessor is UTF-16 eventhough it can do it in the encoding specified in the xsl:output if provided with a custom output. (MSXML 3.0 SDK help on output method)


Understanding: if i want the output in SHIFT_JIS for the tranformation i have only one option: To give the custom output to the output method of the tranform method.


Can any one validate if my understanding is right. a sample file i tried is also noted here ===================================

Try the transformations



===================================


Or can can one suggest anyother method to get SHIFT_JIS as the output of a tranformation. Basically is it feasible. with MSXML 3.0 on IE.


Thanks, Rupesh, Internet consultant, Tata Consultancy Services





_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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



Current Thread