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.


Hi Rupesh,

> yes. that is the only statment of hope: the output property. And the
> only way is by giving it the custom output. Meaning, we need to get
> an object which can serve as an acceptor of the output. So here goes
> the tests for such an object: (x-sjis is an alias for SHIFT-JIS)

You have to set the output property to the object before you do the
transformation. Try:

  xslProc.output = xmlSink;
  xslProc.transform();

and then looking at xmlSink. It will be populated with the results of
the transformation, and you can then save it out in the correct
encoding (hopefully!).

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 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]