PyDocs

Structured Markup Processing Tools

xml.sax

Simple API for XML (SAX) implementation for Python.

This module provides an implementation of the SAX 2 interface;
information about the Java version of the interface can be found at
http://www.megginson.com/SAX/.  The Python version of the interface is
documented at <...>.

This package contains the following modules:

handler -- Base classes and constants which define the SAX 2 API for
           the 'client-side' of SAX for Python.

saxutils -- Implementation of the convenience classes commonly used to
            work with SAX.

xmlreader -- Base classes and constants which define the SAX 2 API for
             the parsers used with SAX for Python.

expatreader -- Driver that allows use of the Expat parser with SAX.
Symbols in xml.sax

d

default_parser_list
The list of the names of modules which are tried by make_parser() after the modules named in its parser_list argument.

m

make_parser
Creates and returns a SAX parser.

p

parse
Parse an XML document with the default parser.
parseString
Parse an XML document from a string with the default parser.

s

SAXException
Encapsulate an XML error or warning.
SAXNotRecognizedException
Exception class for an unrecognized identifier.
SAXNotSupportedException
Exception class for an unsupported operation.
SAXParseException
Encapsulate an XML parse error or warning.
SAXReaderNotAvailable
Exception class for a missing driver.