20. Alat Pemroses Markup TerstrukturΒΆ
Python mendukung berbagai modul untuk bekerja dengan berbagai bentuk markup data terstruktur. Ini termasuk modul untuk bekerja dengan Standard Generalized Markup Language (SGML) dan Hypertext Markup Language (HTML), dan beberapa antarmuka untuk bekerja dengan Extensible Markup Language (XML).
- 20.1.
html
--- Dukungan HyperText Markup Language - 20.2.
html.parser
--- Simple HTML and XHTML parser - 20.3.
html.entities
--- Definisi entitas umum HTML - 20.4. XML Processing Modules
- 20.5.
xml.etree.ElementTree
--- The ElementTree XML API - 20.6.
xml.dom
--- The Document Object Model API- 20.6.1. Modul-Modul
- 20.6.2. Objects in the DOM
- 20.6.2.1. DOMImplementation Objects
- 20.6.2.2. Node Objects
- 20.6.2.3. NodeList Objects
- 20.6.2.4. DocumentType Objects
- 20.6.2.5. Document Objects
- 20.6.2.6. Element Objects
- 20.6.2.7. Attr Objects
- 20.6.2.8. NamedNodeMap Objects
- 20.6.2.9. Comment Objects
- 20.6.2.10. Text and CDATASection Objects
- 20.6.2.11. ProcessingInstruction Objects
- 20.6.2.12. Pengecualian
- 20.6.3. Conformance
- 20.7.
xml.dom.minidom
--- Minimal DOM implementation - 20.8.
xml.dom.pulldom
--- Support for building partial DOM trees - 20.9.
xml.sax
--- Support for SAX2 parsers - 20.10.
xml.sax.handler
--- Base classes for SAX handlers - 20.11.
xml.sax.saxutils
--- SAX Utilities - 20.12.
xml.sax.xmlreader
--- Interface for XML parsers - 20.13.
xml.parsers.expat
--- Fast XML parsing using Expat