Subject: Re: [xsl] output encoding problem (can't get UTF-8) From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx> Date: Sun, 7 Aug 2005 18:41:13 +0100 |
I have problems getting this to work. When I try to load the XML, MSXML reports the following error: "XML document must have a top level element"
Do you think it matters that the oStream object is passed as a parameter in a function before it is used in xmlDom.load?
set oStream = createobject("Adodb.Stream") oStream.Type = 2 oStream.Charset = "Unicode" oStream.open oStream.writeText o.document xmlDom.load(oStream)
(oStream is passed as a sub parameter first though) I have also tried writing binary (type = 1 and oStream.write), and charset = "UTF-8".
After writing to the stream set the position to the start: oStream.position = 0
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] output encoding problem (, Gabriel K | Thread | RE: [xsl] output encoding problem (, Gabriel K |
[xsl] XML source size vs . XSLT per, Jacquo Johnson | Date | Re: [xsl] Re: xml:space problem WAS, David Carlisle |
Month |