Georg Brandl | 8ec7f65 | 2007-08-15 14:28:01 +0000 | [diff] [blame^] | 1 | |
| 2 | .. _markup: |
| 3 | |
| 4 | ********************************** |
| 5 | Structured Markup Processing Tools |
| 6 | ********************************** |
| 7 | |
| 8 | Python supports a variety of modules to work with various forms of structured |
| 9 | data markup. This includes modules to work with the Standard Generalized Markup |
| 10 | Language (SGML) and the Hypertext Markup Language (HTML), and several interfaces |
| 11 | for working with the Extensible Markup Language (XML). |
| 12 | |
| 13 | It is important to note that modules in the :mod:`xml` package require that |
| 14 | there be at least one SAX-compliant XML parser available. Starting with Python |
| 15 | 2.3, the Expat parser is included with Python, so the :mod:`xml.parsers.expat` |
| 16 | module will always be available. You may still want to be aware of the `PyXML |
| 17 | add-on package <http://pyxml.sourceforge.net/>`_; that package provides an |
| 18 | extended set of XML libraries for Python. |
| 19 | |
| 20 | The documentation for the :mod:`xml.dom` and :mod:`xml.sax` packages are the |
| 21 | definition 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 | |