I use Eclipse Java EE IDE for Web Developer – V3.5

Here are the 4 steps to get XML from XSD

Right Click On The XSD, Choose Generate and Then XML File

Right Click On The XSD, Choose Generate and Then XML File

Select Destination and Give XML file name

Select Destination and Give XML file name

Customize the XML for option node

Customize the XML for option node, Notice that Root Element is Mandatory

Finish! XML generated

Finish! XML generated

Enjoy!