Invalid character in the given encoding. xml

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi All,
I have some German characters in my .xml file. To take care of this I have already placed <?xml version="1.0" encoding="UTF-8"?> in my .xml file.
<span style="font-size:x-small <span style="font-size:x-small
objXMLDoc = <span style="color:#0000ff; font-size:x-small <span style="color:#0000ff; font-size:x-small New<span style="font-size:x-small XmlDocument<span style="font-size:x-small <span style="font-size:x-small

I am reading the Xpath values thr
<span style="font-size:x-small <span style="font-size:x-small
objXMLNode.Attributes.GetNamedItem(
<span style="color:#a31515; font-size:x-small <span style="color:#a31515; font-size:x-small "filename"<span style="font-size:x-small ).InnerText
But, at the .Load method it generates Invalid character error. How to solve this? Pls. advice. I am using Framework 2.0 How to read the values if something needs to be changed?
Thnks in advance..
<
alex<br/>
<br/>
<span style="font-size:x-small <span style="font-size:x-small <span style="font-size:x-small objXMLDoc.Load(strXMLFilePath)<br/>

View the full article
 
Back
Top