blob: dd0dd8f08fc11b7b4785c744585b98ac34bf9532 [file] [log] [blame]
Georg Brandl8ec7f652007-08-15 14:28:01 +00001
2.. _markup:
3
4**********************************
5Structured Markup Processing Tools
6**********************************
7
8Python supports a variety of modules to work with various forms of structured
9data markup. This includes modules to work with the Standard Generalized Markup
10Language (SGML) and the Hypertext Markup Language (HTML), and several interfaces
11for working with the Extensible Markup Language (XML).
12
13It is important to note that modules in the :mod:`xml` package require that
14there be at least one SAX-compliant XML parser available. Starting with Python
152.3, the Expat parser is included with Python, so the :mod:`xml.parsers.expat`
16module will always be available. You may still want to be aware of the `PyXML
17add-on package <http://pyxml.sourceforge.net/>`_; that package provides an
18extended set of XML libraries for Python.
19
20The documentation for the :mod:`xml.dom` and :mod:`xml.sax` packages are the
21definition of the Python bindings for the DOM and SAX interfaces.
22
23
24.. toctree::
25
26 htmlparser.rst
27 sgmllib.rst
28 htmllib.rst
29 pyexpat.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 xml.etree.elementtree.rst
38
39.. seealso::
40
41 `Python/XML Libraries <http://pyxml.sourceforge.net/>`_
42 Home page for the PyXML package, containing an extension of :mod:`xml` package
43 bundled with Python.
44