Lines Matching refs:ElementTree
1 :mod:`xml.etree.ElementTree` --- The ElementTree XML API
4 .. module:: xml.etree.ElementTree
5 :synopsis: Implementation of the ElementTree API.
11 **Source code:** :source:`Lib/xml/etree/ElementTree.py`
22 The :mod:`xml.etree.ElementTree` module is not secure against
43 The :class:`ElementTree` class can be used to wrap an element structure, and
50 the xml.etree.ElementTree.
53 The ElementTree API is updated to 1.3. For more information, see
54 `Introducing ElementTree 1.3
60 This is a short tutorial for using :mod:`xml.etree.ElementTree` (``ET`` in
69 :class:`ElementTree` represents the whole XML document as a tree, and
72 on the :class:`ElementTree` level. Interactions with a single XML element
110 import xml.etree.ElementTree as ET
120 create an :class:`ElementTree`. Check the documentation to be sure.
179 :class:`ElementTree` provides a simple way to build XML documents and write them to files.
180 The :meth:`ElementTree.write` method serves this purpose.
359 import xml.etree.ElementTree as ET
507 :class:`ElementTree` instance.
631 *attrib* value is always a real mutable Python dictionary, an ElementTree
781 ElementTree Objects
785 .. class:: ElementTree(element=None, file=None)
787 ElementTree wrapper class. This class represents an entire element
820 Use method :meth:`ElementTree.iter` instead.
878 >>> from xml.etree.ElementTree import ElementTree
879 >>> tree = ElementTree()
999 >>> from xml.etree.ElementTree import XMLParser