/Doc/library/markup.rst

http://unladen-swallow.googlecode.com/ · ReStructuredText · 44 lines · 33 code · 11 blank · 0 comment · 0 complexity · 94604539df231f0fc64f80ba2f1e9acd MD5 · raw file

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