xmlproc: An XML parser in Python

Version: 0.70
Author: Lars Marius Garshol - larsga@garshol.priv.no.
Last release: 2000-05-11

xmlproc has moved!

xmlproc is now part of the PyXML package, which is located at SourceForge.

What is xmlproc?

xmlproc is an XML parser written in Python. It is a nearly complete validating parser, with only minor deviations from the specification (listed below). It supports both SGML Open Catalogs and XCatalog 0.1, as well as error messages in different languages. xmlproc also supports namespaces. Access to DTD information is provided, as is a separate DTD parser. SAX drivers are provided with the parser.

Additional utilities are command-line tools for validating and non-validating parsing as well as DTD parsing and also a GUI tool for parsing documents. A DTD to XML Schema converter is also included.


xmlproc is free and you can do as you like with it. If you change it, please let me know. A formal BSD-ish license is available.


At the moment the following topics are documented:

Note that it is recommended to use xmlproc through the SAX API rather than directly, since this provides much greater freedom in the choice of parsers. (For example, you can switch to using Pyexpat which is written in C without changing your code.)

Getting xmlproc

You can download xmlproc here.


Any and all feedback is welcome, from suggestions for improvements or new features to bug reports. And I really mean it! If you have some opinions on this program, please let me hear them.

Deviations from the XML specification

xmlproc does not follow the XML specification in these respects:

All other deviations from the specification are unintentional bugs and should be reported to me via email. Hopefully, xmlproc will be 100% compliant in version 1.00.

xmlproc users

This is a list of other software projects that use xmlproc in some manner. If you know of one that isn't listed, please let me know.

Last update 2000-05-11 14:20, by Lars Marius Garshol.