Notice: The source code repository for generateDS is moving to SourceForge.net.
You can find it here:
https://sourceforge.net/projects/generateds/
To download and clone the repository, please use:
hg clone http://hg.code.sf.net/p/generateds/code generateds
generateDS.py generates Python data structures (for example, class
definitions) from an XML Schema document. These data structures
represent the elements in an XML document described by the XML
Schema. It also generates parsers that load an XML document into
those data structures. In addition, a separate file containing
subclasses (stubs) is optionally generated. The user can add
methods to the subclasses in order to process the contents of an
XML document.