[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] RE: XML transformation output to be in NON UTF-16 on MSXML 3.0.
Subject: [xsl] 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) |
> 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: XML transformation output, Dimitre Novatchev | Thread | [xsl] <xsl:if ... question, Brian Hickey |
RE: [xsl] lookup table, Michael Kay | Date | RE: [xsl] Offline glossary using XM, Andrew Welch |
Month |
Keywords