There are tools out there that can create you an xsd from an example xml file. I've used Trang in the past to do this. Download trang.jar from here To create the xsd file open a command propt and execute the following (replacing the xml/xsd values) ---> java -jar trang.jar example.xml generated.xsd This creates you a basic xsd based on the ...