Features
- generateDS.py generates Python data structures from an Xschema document. It generates a file containing: (1) a Python class for each element definition and (2) parsers (which use the Python lxml library) for XML documents that satisfy the Xschema document. The class definitions contain: - A constructor with initializers for member variables. - Get and set methods for member variables. - A 'build' method used during parsing to populate an instance. - An 'export' method that will re-create (write out) the XML element in an XML document. - Etc. See ``generateDS.txt``/``generateDS.html`` for information about more capabilities, how to use it, etc.
Follow generateds
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
-
Hi folks, generateDS is excellent library! I used it to get py objects from rigid XSD schema. One command line execution and the whole thing was there. It took a bit of time to figure out how to utilize all of the py generated stuff but it was not that hard. I modified code base a bit but stuff delivered precise XML output and it was 100X better solution than creating XML from scratch. Thank you for your work - Sasha Kacanski