| Line | |
|---|
| 1 | \chapter{Structured Markup Processing Tools
|
|---|
| 2 | \label{markup}}
|
|---|
| 3 |
|
|---|
| 4 | Python supports a variety of modules to work with various forms of
|
|---|
| 5 | structured data markup. This includes modules to work with the
|
|---|
| 6 | Standard Generalized Markup Language (SGML) and the Hypertext Markup
|
|---|
| 7 | Language (HTML), and several interfaces for working with the
|
|---|
| 8 | Extensible Markup Language (XML).
|
|---|
| 9 |
|
|---|
| 10 | It is important to note that modules in the \module{xml} package
|
|---|
| 11 | require that there be at least one SAX-compliant XML parser available.
|
|---|
| 12 | Starting with Python 2.3, the Expat parser is included with Python, so
|
|---|
| 13 | the \refmodule{xml.parsers.expat} module will always be available.
|
|---|
| 14 | You may still want to be aware of the \ulink{PyXML add-on
|
|---|
| 15 | package}{http://pyxml.sourceforge.net/}; that package provides an
|
|---|
| 16 | extended set of XML libraries for Python.
|
|---|
| 17 |
|
|---|
| 18 | The documentation for the \module{xml.dom} and \module{xml.sax}
|
|---|
| 19 | packages are the definition of the Python bindings for the DOM and SAX
|
|---|
| 20 | interfaces.
|
|---|
| 21 |
|
|---|
| 22 | \localmoduletable
|
|---|
| 23 |
|
|---|
| 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}
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.