XML with international characters
am 25.01.2008 21:00:13 von SimpleMan75
I'm trying an example in the ASP.Net unleashed book, using a Treeview and an
XML file
The XML file came from a spit-out (for xml) of a query in the Northwind
database, giving me Categories and Products
The only thing, that when it tries to read the XML nodes with international
characters, it pukes and dies
How can I get around it, so that the XML is readable, using an
XMLDataSource, and then load it into the Treeview, with international
Characters?
Re: XML with international characters
am 26.01.2008 14:06:24 von Martin Honnen
Elmo Watson wrote:
> I'm trying an example in the ASP.Net unleashed book, using a Treeview and an
> XML file
> The XML file came from a spit-out (for xml) of a query in the Northwind
> database, giving me Categories and Products
>
> The only thing, that when it tries to read the XML nodes with international
> characters, it pukes and dies
> How can I get around it, so that the XML is readable, using an
> XMLDataSource, and then load it into the Treeview, with international
> Characters?
XML supports Unicode so international characters are not a problem if
the XML document is properly encoded (and declares the encoding in the
XML declaration if necessary).
What error exactly do you get? Does IE parse the XML document without
errors? If not then the document is not properly encoded.
How exactly do you create the XML document?
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/