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.
9 **Source code:** :source:`Lib/xml/etree/ElementTree.py`
13 The :mod:`xml.etree.ElementTree` module implements a simple and efficient API
23 The :mod:`xml.etree.ElementTree` module is not secure against
30 This is a short tutorial for using :mod:`xml.etree.ElementTree` (``ET`` in
39 :class:`ElementTree` represents the whole XML document as a tree, and
42 on the :class:`ElementTree` level. Interactions with a single XML element
80 import xml.etree.ElementTree as ET
90 create an :class:`ElementTree`. Check the documentation to be sure.
202 :class:`ElementTree` provides a simple way to build XML documents and write them to files.
203 The :meth:`ElementTree.write` method serves this purpose.
382 import xml.etree.ElementTree as ET
478 instead of creating comment objects for them. An :class:`ElementTree` will
553 :class:`ElementTree` instance.
565 :class:`ElementTree` will only contain processing instruction nodes if
600 *short_empty_elements* has the same meaning as in :meth:`ElementTree.write`.
615 *short_empty_elements* has the same meaning as in :meth:`ElementTree.write`.
694 *attrib* value is always a real mutable Python dictionary, an ElementTree
855 ElementTree Objects
859 .. class:: ElementTree(element=None, file=None)
861 ElementTree wrapper class. This class represents an entire element
894 Use method :meth:`ElementTree.iter` instead.
967 >>> from xml.etree.ElementTree import ElementTree
968 >>> tree = ElementTree()
1095 >>> from xml.etree.ElementTree import XMLParser