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
Discover HPCC Systems - the truly open source big data solution that allows you to quickly process, analyze and understand large data sets, even data stored in massive, mixed-schema data lakes. Designed by data scientists, HPCC systems is a complete integrated solution from data ingestion and data processing to data delivery. The free online introductory courses and a robust developer community allow you to get started quickly.
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