This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
encoding="iso-8859-1"
- To: <xsl-list at mulberrytech dot com>
- Subject: encoding="iso-8859-1"
- From: "roland at dunn dot co dot uk" <lists at dunn dot co dot uk>
- Date: Thu, 15 Jun 2000 22:48:11 +0100
- Reply-To: xsl-list at mulberrytech dot com
Hi,
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
milk</text></section></somenews>")
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@dunn.co.uk as well as to the mailing list.
Many thanks,
Roland.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list