[XML-SIG] Update to generateDS.py
Dave Kuhlman
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:
http://www.xml.com/pub/a/2003/06/11/py-xml.html?page=1
You can find the new version of generateDS.py at:
http://www.rexx.com/~dkuhlman/generateDS-1.4a.tar.gz
Thanks again to Uche for his review of and suggestions for
generateDS.py.
Dave
--
Dave Kuhlman
dkuhlman at rexx.com
http://www.rexx.com/~dkuhlman
More information about the XML-SIG
mailing list