One more easiest way to create XSD from XML :)

 

Hello friends,

as i have shared earlier in my previous post  https://indiandotnet.wordpress.com/2013/07/17/how-to-generate-xsd-from-xml-in-2-minutes/ .

To make it more easy visual studio provide you a best utility which i want to share here

see below screenshot .

When you open XML in the visual studio in the menu you will get XML option. Just click on create Schema submenu and you are good to go.

wow you have XML schema. Isn’t it simple. 🙂

GenerateXSD

Enjoy friends 🙂

Thanks & Regards,

Rajat Jaiswal

How to generate XSD from XML in 2 minutes ?

Dear Friends,

Many times we require XSD from XML which we can utilize in our code. so to achieve this we need to run a simple command which will create your XML in XSD. Now you are thinking what is that command so here we go

you just need to write following command on command prompt

XSD.EXE  “YourXML file Name”  /outputdir:

Example

XSD.exe “d:\myxml.xml” /outputdir:

When you run it it will generate the XSD file in system32 folder.

I hope you like it.

Thanks & Regards,

Rajat Jaiswal