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. XML / XSL
  4. XSD from XML

XSD from XML

Scheduled Pinned Locked Moved XML / XSL
questioncsharpxml
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.
  • A Offline
    A Offline
    AmitG77
    wrote on last edited by
    #1

    hi, How can i create XSD from XML document programmatically in C#? Also is there a tool available to achieve this?

    G D 2 Replies Last reply
    0
    • A AmitG77

      hi, How can i create XSD from XML document programmatically in C#? Also is there a tool available to achieve this?

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      If you have Visual Studio 2005, you just open up an XML file and there will be a XML Menu with a menu item, "Create Schema". Also, a toolbar button to create a schema may also appear. I believe this works in Standard and above. However, I am not sure about Express.

      "We make a living by what we get, we make a life by what we give." --Winston Churchill

      1 Reply Last reply
      0
      • A AmitG77

        hi, How can i create XSD from XML document programmatically in C#? Also is there a tool available to achieve this?

        D Offline
        D Offline
        DavidNohejl
        wrote on last edited by
        #3

        AmitG77 wrote:

        Also is there a tool available to achieve this?

        XML Schema Definition Tool (Xsd.exe)[^]


        "Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

        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