Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 1 | .. _markup: |
| 2 | |
| 3 | ********************************** |
| 4 | Structured Markup Processing Tools |
| 5 | ********************************** |
| 6 | |
| 7 | Python supports a variety of modules to work with various forms of structured |
| 8 | data markup. This includes modules to work with the Standard Generalized Markup |
| 9 | Language (SGML) and the Hypertext Markup Language (HTML), and several interfaces |
| 10 | for working with the Extensible Markup Language (XML). |
| 11 | |
| 12 | It is important to note that modules in the :mod:`xml` package require that |
| 13 | there be at least one SAX-compliant XML parser available. Starting with Python |
| 14 | 2.3, the Expat parser is included with Python, so the :mod:`xml.parsers.expat` |
| 15 | module will always be available. You may still want to be aware of the `PyXML |
| 16 | add-on package <http://pyxml.sourceforge.net/>`_; that package provides an |
| 17 | extended set of XML libraries for Python. |
| 18 | |
| 19 | The documentation for the :mod:`xml.dom` and :mod:`xml.sax` packages are the |
| 20 | definition of the Python bindings for the DOM and SAX interfaces. |
| 21 | |
| 22 | |
| 23 | .. toctree:: |
| 24 | |
Fred Drake | d995e11 | 2008-05-20 06:08:38 +0000 | [diff] [blame] | 25 | htmlparser.rst |
Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 26 | sgmllib.rst |
| 27 | htmllib.rst |
Christian Heimes | 23790b4 | 2013-03-26 17:53:05 +0100 | [diff] [blame] | 28 | xml.rst |
Éric Araujo | d2e19b5 | 2012-03-05 16:44:49 +0100 | [diff] [blame] | 29 | xml.etree.elementtree.rst |
Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame] | 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 |
Éric Araujo | d2e19b5 | 2012-03-05 16:44:49 +0100 | [diff] [blame] | 37 | pyexpat.rst |