[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
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|