• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. _markup:
2
3**********************************
4Structured Markup Processing Tools
5**********************************
6
7Python supports a variety of modules to work with various forms of structured
8data markup.  This includes modules to work with the Standard Generalized Markup
9Language (SGML) and the Hypertext Markup Language (HTML), and several interfaces
10for working with the Extensible Markup Language (XML).
11
12It is important to note that modules in the :mod:`xml` package require that
13there be at least one SAX-compliant XML parser available. Starting with Python
142.3, the Expat parser is included with Python, so the :mod:`xml.parsers.expat`
15module will always be available. You may still want to be aware of the `PyXML
16add-on package <http://pyxml.sourceforge.net/>`_; that package provides an
17extended set of XML libraries for Python.
18
19The documentation for the :mod:`xml.dom` and :mod:`xml.sax` packages are the
20definition of the Python bindings for the DOM and SAX interfaces.
21
22
23.. toctree::
24
25   htmlparser.rst
26   sgmllib.rst
27   htmllib.rst
28   xml.rst
29   xml.etree.elementtree.rst
30   xml.dom.rst
31   xml.dom.minidom.rst
32   xml.dom.pulldom.rst
33   xml.sax.rst
34   xml.sax.handler.rst
35   xml.sax.utils.rst
36   xml.sax.reader.rst
37   pyexpat.rst
38