Structured Markup Processing Tools
**********************************

Python supports a variety of modules to work with various forms of
structured data markup.  This includes modules to work with the
Standard Generalized Markup Language (SGML) and the Hypertext Markup
Language (HTML), and several interfaces for working with the
Extensible Markup Language (XML).

* "html" --- HyperText Markup Language support

* "html.parser" --- 簡單的 HTML 和 XHTML 剖析器

  * HTML 剖析器應用程式範例

  * "HTMLParser" 方法

  * 範例

* "html.entities" --- HTML 一般實體的定義

* XML 處理模組

  * XML vulnerabilities

  * The "defusedxml" Package

* "xml.etree.ElementTree" --- The ElementTree XML API

  * Tutorial

    * XML tree and elements

    * Parsing XML

    * Pull API for non-blocking parsing

    * Finding interesting elements

    * Modifying an XML File

    * Building XML documents

    * Parsing XML with Namespaces

  * XPath support

    * 範例

    * Supported XPath syntax

  * Reference

    * 函式

  * XInclude support

    * 範例

  * Reference

    * 函式

    * Element Objects

    * ElementTree 物件

    * QName 物件

    * TreeBuilder 物件

    * XMLParser 物件

    * XMLPullParser 物件

    * 例外

* "xml.dom" --- The Document Object Model API

  * 模組內容

  * Objects in the DOM

    * DOMImplementation 物件

    * Node Objects

    * NodeList 物件

    * DocumentType 物件

    * Document Objects

    * Element Objects

    * Attr Objects

    * NamedNodeMap 物件

    * Comment Objects

    * Text and CDATASection Objects

    * ProcessingInstruction 物件

    * 例外

  * Conformance

    * Type Mapping

    * Accessor Methods

* "xml.dom.minidom" --- Minimal DOM implementation

  * DOM 物件

  * DOM 範例

  * minidom and the DOM standard

* "xml.dom.pulldom" --- Support for building partial DOM trees

  * DOMEventStream 物件

* "xml.sax" --- Support for SAX2 parsers

  * SAXException 物件

* "xml.sax.handler" --- Base classes for SAX handlers

  * ContentHandler 物件

  * DTDHandler 物件

  * EntityResolver 物件

  * ErrorHandler 物件

  * LexicalHandler 物件

* "xml.sax.saxutils" --- SAX Utilities

* "xml.sax.xmlreader" --- Interface for XML parsers

  * XMLReader 物件

  * IncrementalParser 物件

  * Locator Objects

  * InputSource 物件

  * The "Attributes" Interface

  * The "AttributesNS" Interface

* "xml.parsers.expat" --- Fast XML parsing using Expat

  * XMLParser 物件

  * ExpatError 例外

  * 範例

  * Content Model Descriptions

  * Expat error constants
