Re: Special Characters not resolving
- From: Martin Honnen <mahotrash@xxxxxxxx>
- Date: Mon, 23 Oct 2006 18:18:09 +0200
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 & 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 '&' (& a m p ; for web forum readers) is "translated" into the character '&'.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
.
- Follow-Ups:
- Re: Special Characters not resolving
- From: Trac Bannon
- Re: Special Characters not resolving
- Prev by Date: Re: How do I find the MSXML version?
- Next by Date: Re: How do I find the MSXML version?
- Previous by thread: Re: How do I find the MSXML version?
- Next by thread: Re: Special Characters not resolving
- Index(es):