Every time I was unsuccessful,
the error shown to me is:
The ':' character, hexadecimal value 0x3A, cannot be included in a name. Line 2, position 6.
System.Exception {System.Xml.XmlException}
I could get the problem where it occured. It is due to ':' in the second line.
But my file should be of that format only, where this couldnot be changed.
Please help me to load this file successfully and make my task functioning....
Thanks in advance....
Below is the XML file formatwhich was loaded by me:
*********************************
.....
....
...
**************************
SrinivasaPosted May 22, 2009, 12:20 AM
I tried using this :
XmlTextReader textReader = new XmlTextReader(sourcePath + fileName);
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(textReader);
And getting the error as:
The ':' character, hexadecimal value 0x3A, cannot be included in a name. Line 2, position 6.
System.Exception {System.Xml.XmlException}
patrickPosted May 21, 2009, 2:15 PM
?xml-stylesheet type="text/css "href="..." ?
Not sure if this will fix it, worth a shot.