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 supporthtml.parserâ Simple HTML and XHTML parserhtml.entitiesâ Definitions of HTML general entities- XML Processing Modules
xml.etree.ElementTreeâ The ElementTree XML APIxml.domâ The Document Object Model APIxml.dom.minidomâ Minimal DOM implementationxml.dom.pulldomâ Support for building partial DOM treesxml.saxâ Support for SAX2 parsersxml.sax.handlerâ Base classes for SAX handlersxml.sax.saxutilsâ SAX Utilitiesxml.sax.xmlreaderâ Interface for XML parsersxml.parsers.expatâ Fast XML parsing using Expat