Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: a809e4a54007303efb084b85ba53605adaa41b64 authored by Georg Brandl on 25 March 2013, 06:01:37 UTC
merge with upstream 3.3 branch
Tip revision: a809e4a
xml.rst
.. _xml:

XML Processing Modules
======================

Python's interfaces for processing XML are grouped in the ``xml`` package.

It is important to note that modules in the :mod:`xml` package require that
there be at least one SAX-compliant XML parser available. The Expat parser is
included with Python, so the :mod:`xml.parsers.expat` module will always be
available.

The documentation for the :mod:`xml.dom` and :mod:`xml.sax` packages are the
definition of the Python bindings for the DOM and SAX interfaces.

The XML handling submodules are:

* :mod:`xml.etree.ElementTree`: the ElementTree API, a simple and lightweight

..

* :mod:`xml.dom`: the DOM API definition
* :mod:`xml.dom.minidom`: a lightweight DOM implementation
* :mod:`xml.dom.pulldom`: support for building partial DOM trees

..

* :mod:`xml.sax`: SAX2 base classes and convenience functions
* :mod:`xml.parsers.expat`: the Expat parser binding
back to top