Some time ago I had the need to create an extensive amount of Xsd schemas from Xml instances. There are many tools or applications capable of generate an Xsd Schema from an Xml instance, it’s possible to use BizTalk, XmlSpy or Style Studio to name a few, but I needed something less “powerful”, I wanted a simple tool with which I could open a file and simply generate the schema from it.
There was a website capable of create the schema using “XmlSchemaInference” class, but I thought, if the class is available with the .Net Framework why not create such a tool. And here it is Inference Tool.
It’s really simple to use, just browse for a well formed Xml instance file, select “Infer” from the “Schema” menu, and a xsd schema is generated.
The project has a couple of years, but I hope it still can be useful.
It was converted to Visual Studio 2008 using the Express Edition, so if you don’t have a full copy of VS2008 you can download the Express Edition as well.
Any comments will be much appreciated.