[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

encoding="iso-8859-1"

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.