Re: Special Characters not resolving

Tech-Archive recommends: Fix windows errors by optimizing your registry



Trac Bannon wrote:
When I load XML from a file into a dotNet XMLDataDocument, the UTF-8 codes are resolved but the 5 special XML entities are not.

How can I force those 5 special character types to be translated?

Please show us an XML sample you have and then explain us which properties or methods of XmlDataDocument exactly you use.
For instance with e.g.
<element>Kibo &amp; Xibo</element>
I am sure that the InnerText property of that element node returns the string
'Kibo & Xibo'
so with that property the entity reference '&amp;' (& a m p ; for web forum readers) is "translated" into the character '&'.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
.