blob: 0d923a72d119f312df588faa19bb7d802cef1919 [file] [log] [blame]
Fred Drakeb5316182000-07-05 02:24:39 +00001\chapter{Structured Markup Processing Tools
2 \label{markup}}
3
4Python supports a variety of modules to work with various forms of
5structured data markup. This includes modules to work with the
6Standard Generalized Markup Language (SGML) and the Hypertext Markup
7Language (HTML), and several interfaces for working with the
8Extensible Markup Language (XML).
9
Fred Drakeff287cf2002-10-23 20:58:32 +000010It is important to note that modules in the \module{xml} package
11require that there be at least one SAX-compliant XML parser available.
12Starting with Python 2.3, the Expat parser is included with Python, so
13the \refmodule{xml.parsers.expat} module will always be available.
14You may still want to be aware of the \ulink{PyXML add-on
15package}{http://pyxml.sourceforge.net/}; that package provides an
16extended set of XML libraries for Python.
17
18The documentation for the \module{xml.dom} and \module{xml.sax}
19packages are the definition of the Python bindings for the DOM and SAX
20interfaces.
21
Fred Drakeb5316182000-07-05 02:24:39 +000022\localmoduletable
Fred Drakeff287cf2002-10-23 20:58:32 +000023
24\begin{seealso}
25 \seetitle[http://pyxml.sourceforge.net/]
26 {Python/XML Libraries}
27 {Home page for the PyXML package, containing an extension
28 of \module{xml} package bundled with Python.}
29\end{seealso}