Publisher review:Multiple handlers for xml.sax parser SAX is commonly used on large XML files because they don't fit nicely into core memory necessary for the friendlier DOM API. When dealing with -really- large XML files, multiple passes over the file becomes costly. The SAX handler in this script allows you to handle an XML file multiple ways in a single pass by dispatching to the handlers you supply.
When dealing with really large XML files (say, Wikipedia's 100GB full text dump) this is handy so that you can process the information in multiple (modular) ways without having to read the whole file off disk in separate passes. If an exception is thrown from a constituent handler call, MultiHandler will dump a diagnostic to the supplied errout (or stderr) and continue processing.
Multiple handlers for xml.sax parser is a Python script for XML Tools scripts design by Jeremy Dunck.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris