How to load an XML file in C#.Net (by ignoring ':')

csharp.net , xml , xmlexception India
  • 11 years ago

    Hi, I tried several ways to load the below format XML file. 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:

    ..... .... ...

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“In order to understand recursion, one must first understand recursion.”