Search code examples
xmlxsdschemadtduser-defined

In XML is a Schema User Created?


if I make an XML Schema; I would physically define that schema correct? Or is there a program somewhere that would create a schema for my XML file automatically? Maybe I am confused on Schemas I'm not sure.


Solution

  • We've used this tool to generate XSD's from example XML files: http://www.thaiopensource.com/relaxng/trang.html. Just remember that it can only be as good as the example XML, so you might have to tweak the generated schema a bit (adding repetition, etc.).