Friday, October 3, 2008

Creating XSD from XML

Recently we had a requirement to build a data model at the back-end for a web front-end, which is based on an xml file.  Once decided to use jaxb, we realised we didn't have the schema definition but only have xml file.  So started my search for creating xsd from xml.  I found couple of on-line links for xsd creation and other applications supporting this feature.

On-line links

http://www.flame-ware.com/xml2xsd/
http://www.xmlforasp.net/codeSection.aspx?csID=79
http://www.hitsw.com/xml_utilites/

Others
IBM RAD can generate xsd from xml, you need to add xml file as part of some project.
Microsoft also provides a tool xsd.exe, but I guess you need .NET framework for this to work.
Another open-source tool trang.

No comments:

Post a Comment