Use for questions about the generateDS Python module used for creating Python classes from XML Schema document.
generateDS 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 (e.g. classes are created for the type definitions in the XML Schema using name of the type for the class name). It also generates parsers that load an XML document into those data structures. If you have a basic understanding of the structure of the XML you want to generate, then generateDS is easy to create and parse valid XML documents.
Running generateDS
python generateDS.py -o people.py people.xsd
This generates a python module people.py with the classes to parse and create XML instance documents conforming to the people.xsd XML schema.
Asking Questions:
- Before asking a question, make sure you have gone through the Introduction and Tutorial.