xml.dom â The Document Object Model API¶ Source code: Lib/xml/dom/__init__.py The Document Object Model, or âDOM,â is a cross-language API from the World Wide Web Consortium (W3C) for accessing and modifying XML documents. A DOM implementation presents an XML document as a tree structure, or allows client code to build such a structure from scratch. It then gives access to the structure through a
{{#tags}}- {{label}}
{{/tags}}