blob: 0d05ef1f021185a636ab4c88ba4ba60be993ca5e [file] [log] [blame]
Georg Brandl8ec7f652007-08-15 14:28:01 +00001.. _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
Fred Draked995e112008-05-20 06:08:38 +000025 htmlparser.rst
Georg Brandl8ec7f652007-08-15 14:28:01 +000026 sgmllib.rst
27 htmllib.rst
Christian Heimes23790b42013-03-26 17:53:05 +010028 xml.rst
Éric Araujod2e19b52012-03-05 16:44:49 +010029 xml.etree.elementtree.rst
Georg Brandl8ec7f652007-08-15 14:28:01 +000030 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
Éric Araujod2e19b52012-03-05 16:44:49 +010037 pyexpat.rst