[XML-SIG] Update to generateDS.py
dkuhlman at cutter.rexx.com
Wed Sep 17 17:51:10 EDT 2003
Uche's review of generateDS.py at XML.com motivated me add
generation of a SAX parser (in addition to the minidom-based
parser) to generateDS.py.
My testing has been pretty light so far, but the SAX parser seems
to be working.
What is generateDS.py?
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.
You can find Uche's article at:
You can find the new version of generateDS.py at:
Thanks again to Uche for his review of and suggestions for
dkuhlman at rexx.com
More information about the XML-SIG