[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XML transformation output to be in NON UTF-16 on M

Subject: RE: XML transformation output to be in NON UTF-16 on MSXML 3.0.
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 24 Jul 2002 01:19:43 -0700 (PDT)
objects implementing istream
> 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)

[skip]

> var xmlSink = new ActiveXObject("Msxml2.DOMDocument");

This will only work in the case when the result of the transformation
is a well-formed xml document. In your case you're using:

   <xsl:output method="html" encoding="x-sjis" />

in your stylesheet. Therefore chances are great that the result of the
transformation will not be a well-formed xml document.

In this case you must use another object, implementing IStream, e.g.
ADODB.Stream, as was already recommended in
http://sources.redhat.com/ml/xsl-list/2002-07/msg01310.html



=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.