Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to load an XML file in C#.Net (by ignoring ':' )

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

Scheduled Pinned Locked Moved C#
helpcsharpxmlcomsales
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KotaSri
    wrote on last edited by
    #1

    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: ********************************* <?xml version="1.0"?> <?xml:stylesheet type="text/xsl" href="https://xyz.sdsdasas.com/CustomerDetails.xsl"?> <Customer> <CustomerDetails> ..... .... ... </CustomerDetails> </Customer> **************************

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups