XSD from XML
-
hi, How can i create XSD from XML document programmatically in C#? Also is there a tool available to achieve this?
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
-
hi, How can i create XSD from XML document programmatically in C#? Also is there a tool available to achieve this?
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