Lines Matching refs:DOM
1 :mod:`xml.dom.minidom` --- Minimal DOM implementation
5 :synopsis: Minimal Document Object Model (DOM) implementation.
19 to be simpler than the full DOM and also significantly smaller. Users who are
20 not already proficient with the DOM should consider using the
31 DOM applications typically start by parsing some XML into a DOM. With
67 parser with a "DOM builder" that can accept parse events from any SAX parser and
68 convert them into a DOM tree. The name of the functions are perhaps misleading,
73 You can also create a :class:`Document` by calling a method on a "DOM
81 :class:`Document`, you can add child nodes to it to populate the DOM::
92 Once you have a DOM document object, you can access the parts of your XML
94 the DOM specification. The main property of the document object is the
101 When you are finished with a DOM tree, you may optionally call the
104 extension to the DOM API that renders the node and its descendants are
110 `Document Object Model (DOM) Level 1 Specification <https://www.w3.org/TR/REC-DOM-Level-1/>`_
111 The W3C recommendation for the DOM supported by :mod:`xml.dom.minidom`.
116 DOM Objects
119 The definition of the DOM API for Python is given as part of the :mod:`xml.dom`
126 Break internal references within the DOM so that it will be garbage collected on
128 this can make large amounts of memory available sooner, so calling this on DOM
156 Return the XML that the DOM represents as a string.
183 The following standard DOM methods have special considerations with
196 DOM Example
200 particular case, we do not take much advantage of the flexibility of the DOM.
207 minidom and the DOM standard
210 The :mod:`xml.dom.minidom` module is essentially a DOM 1.0-compatible DOM with
211 some DOM 2 features (primarily namespace features).
213 Usage of the DOM interface in Python is straight-forward. The following mapping
221 * Operations are used as methods. Since the DOM uses only :keyword:`in`
236 ``null`` value by the DOM specification from the W3C.
246 Starting with Python 2.2, these objects provide the interface defined in the DOM
272 utility to most DOM users.