• Home
  • Raw
  • Download

Lines Matching +full:misleading +full:- +full:indentation

1 :mod:`xml.dom.minidom` --- Minimal DOM implementation
13 --------------
26 unauthenticated data see :ref:`xml-vulnerabilities`.
47 either a file name, or a file-like object. *parser*, if given, must be a SAX2
66 convert them into a DOM tree. The name of the functions are perhaps misleading,
96 :meth:`unlink` method to encourage early cleanup of the now-unneeded
97 objects. :meth:`unlink` is an :mod:`xml.dom.minidom`\ -specific
104 `Document Object Model (DOM) Level 1 Specification <https://www.w3.org/TR/REC-DOM-Level-1/>`_
108 .. _minidom-objects:
111 -----------
140 interface. The *indent* parameter is the indentation of the current node.
141 The *addindent* parameter is the incremental indentation to use for subnodes
171 encoding. Encoding this string in an encoding other than UTF-8 is
172 likely incorrect, since UTF-8 is the default encoding of XML.
186 Return a pretty-printed version of the document. *indent* specifies the
187 indentation string and defaults to a tabulator; *newl* specifies the string
202 .. _dom-example:
205 -----------
210 .. literalinclude:: ../includes/minidom-example.py
213 .. _minidom-and-dom:
216 ----------------------------
218 The :mod:`xml.dom.minidom` module is essentially a DOM 1.0-compatible DOM with
221 Usage of the DOM interface in Python is straight-forward. The following mapping
253 * :class:`NodeList` objects are implemented using Python's built-in list type.
271 the appropriate standards. For example, "UTF-8" is valid, but
274 See https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl
275 and https://www.iana.org/assignments/character-sets/character-sets.xhtml.