Subject: encoding="iso-8859-1"
From: "roland@xxxxxxxxxx" <lists@xxxxxxxxxx>
Date: Thu, 15 Jun 2000 22:48:11 +0100

I have a query. Suppose I write out the following XML as a little file.
<?xml version="1.0" encoding="iso-8859-1"?><somenews><section
id="1"><text>Fred drank milk</text></section></somenews>

If, I load this into the MXSML DOM in an ASP script as follows:
xmlObj.Load("tiny.xml") - I have no problems. The DOM can handle it, and I
can manipulate it.

If, however, I load this into the DOM like this:

xmlObj.LoadXML("<?xml version=""1.0""
encoding=""iso-8859-1""?><somenews><section id=""1""><text>Fred drank

I get the following error code: "Switch from current encoding to specified
encoding not supported. errorcode : -1072896657"
Anyone know a way to work around this?

Please email me direct at roland@xxxxxxxxxx as well as to the mailing list.

Many thanks,

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

Current Thread