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 check if a given xml file is well formed or not?

how to check if a given xml file is well formed or not?

Scheduled Pinned Locked Moved C#
xmltutorialquestion
3 Posts 3 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.
  • G Offline
    G Offline
    G K M
    wrote on last edited by
    #1

    how to check if a given xml file is well formed or not?

    Gaurav

    M M 2 Replies Last reply
    0
    • G G K M

      how to check if a given xml file is well formed or not?

      Gaurav

      M Offline
      M Offline
      Mark Greenwood
      wrote on last edited by
      #2

      Easiest way might be just to open it in an XmlDocument - it will fail if it's not well formed I think....

      1 Reply Last reply
      0
      • G G K M

        how to check if a given xml file is well formed or not?

        Gaurav

        M Offline
        M Offline
        MeetUdaya
        wrote on last edited by
        #3

        wellformedness can be checked by the Browser itself. open the xml file in IE and you can find if it is wellformed or not. IE has a Parser(software for processing xml file)

        Never Never Give up!

        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