[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] encoding="iso-8859-1"
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@xxxxxxxxxx as well as to the mailing list. Many thanks, Roland. 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
|