Home
last modified time | relevance | path

Searched refs:ElementTree (Results 1 – 25 of 50) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_xml_etree.py20 from xml.etree import ElementTree as ET
72 tree = ET.ElementTree(elem)
1340 from xml.etree.ElementTree import XML
1897 from xml.etree import ElementTree
1898 self._nsmap = ElementTree._namespace_map
1899 self._path_cache = ElementTree.ElementPath._cache
1901 ElementTree._namespace_map = self._nsmap.copy()
1903 ElementTree.ElementPath._cache = self._path_cache.copy()
1907 from xml.etree import ElementTree
1909 ElementTree._namespace_map = self._nsmap
[all …]
/external/deqp/scripts/
Dmustpass.py31 import xml.etree.cElementTree as ElementTree namespace
278 doc.insert(0, ElementTree.Comment(mustpass.project.copyright))
279 doc.insert(1, ElementTree.Comment(GENERATED_FILE_WARNING))
282 uglyString = ElementTree.tostring(doc, 'utf-8')
287 mustpassElem = ElementTree.Element("Mustpass", version = mustpass.version)
291 packageElem = ElementTree.SubElement(mustpassElem, "TestPackage", name = package.module.name)
294 configElem = ElementTree.SubElement(packageElem, "Configuration",
302 ElementTree.SubElement(parent, "option", name=optionName, value=optionValue)
306 configElement = ElementTree.Element("configuration")
309ElementTree.SubElement(configElement, "option", name="config-descriptor:metadata", key="component"…
[all …]
/external/markdown/docs/
DINSTALL7 Python-Markdown requires the ElementTree module to be installed. In Python2.5+
8 ElementTree is included as part of the standard library. For earlier versions
12 >>> import ElementTree
15 copy of ElementTree installed on your system. As cElementTree is faster, you
20 download the latest version of ElementTree.
28 easy_install ElementTree
Dwriting_extensions.txt15 As the parser builds an [ElementTree][] object which is later rendered
27 * [Working with the ElementTree][]
74 Accepts a match object and returns an ElementTree element of a plain
149 For specifics on manipulating the ElementTree, see
150 [Working with the ElementTree][] below.
154 Postprocessors manipulate the document after the ElementTree has been
162 Postprocessors are run after the ElementTree has been serialized back into
178 That Blockprocessor parses the block and adds it to the ElementTree. The
273 Given a list of lines, an ElementTree object is returned. This should be
296 <h3 id="working_with_et">Working with the ElementTree</h3>
[all …]
Drelease-2.0.txt26 * The old home-grown NanoDOM has been replaced with ElementTree. Therefore all
27 extensions must use ElementTree rather than the old NanoDOM.
38 ElementTree internally to build the (X)HTML document from markdown source text.
Drelease-2.0.2.txt6 ElementTree on older versions of Python (< 2.5). There have also been a few
DAUTHORS13 patterns, replaced the NanoDOM with ElementTree support and made various other
/external/libmojo/third_party/catapult/devil/devil/android/sdk/
Dshared_prefs.py14 from xml.etree import ElementTree
44 return ElementTree.tostring(self._elem)
157 ElementTree.SubElement(self._elem, 'string').text = str(item)
211 return _XML_DECLARATION + ElementTree.tostring(self.xml)
237 self._xml = ElementTree.Element('map')
247 self._xml = ElementTree.fromstring(
385 pref = pref_cls(ElementTree.SubElement(
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs.py16 from xml.etree import ElementTree
48 return ElementTree.tostring(self._elem)
161 ElementTree.SubElement(self._elem, 'string').text = str(item)
215 return _XML_DECLARATION + ElementTree.tostring(self.xml)
241 self._xml = ElementTree.Element('map')
251 self._xml = ElementTree.fromstring(
402 pref = pref_cls(ElementTree.SubElement(
/external/markdown/markdown/
Detree_loader.py13 import xml.etree.ElementTree as etree
19 import elementtree.ElementTree as etree
Dhtml4.py41 ElementTree = markdown.etree.ElementTree variable
273 write_html(ElementTree(element).getroot(),file,encoding)
Dblockparser.py61 return markdown.etree.ElementTree(self.root)
/external/v8/tools/testrunner/local/
Djunit_output.py29 import xml.etree.ElementTree as xml
48 xml.ElementTree(self.root).write(file, "UTF-8")
/external/python/cpython2/Doc/library/
Dxml.etree.elementtree.rst1 :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
[all …]
Dxml.rst30 * :mod:`xml.etree.ElementTree`: the ElementTree API, a simple and lightweight
69 1. :mod:`xml.etree.ElementTree` doesn't expand external entities and raises a
/external/python/cpython2/Lib/xml/etree/
DElementInclude.py52 from . import ElementTree
80 data = ElementTree.parse(file).getroot()
DElementTree.py605 class ElementTree(object): class
1126 ElementTree(element).write(file, encoding, method=method)
1147 ElementTree(element).write(file, encoding, method=method)
1162 if not isinstance(elem, ElementTree):
1163 elem = ElementTree(elem)
1181 tree = ElementTree()
/external/selinux/python/sepolicy/sepolicy/
Dinterface.py127 import xml.etree.ElementTree
146 tree = xml.etree.ElementTree.parse(path)
148 tree = xml.etree.ElementTree.fromstring(xml_path)
/external/jsoncpp/
Dmakerelease.py23 import xml.etree.ElementTree as ElementTree namespace
64 etree = ElementTree.fromstring( stdout )
/external/vulkan-validation-layers/
Dvk-layer-introspect.py23 import xml.etree.ElementTree
348 tree = xml.etree.ElementTree.parse(path)
/external/autotest/server/cros/servo/
Dfirmware_programmer.py20 import xml.etree.ElementTree
298 root = xml.etree.ElementTree.parse(config_path).getroot()
/external/mesa3d/src/mapi/glapi/gen/
Dgl_enums.py33 import xml.etree.ElementTree as ET
/external/autotest/client/cros/
Dchrome_binary_test.py10 import xml.etree.ElementTree as ET
/external/mesa3d/src/amd/vulkan/
Dradv_entrypoints_gen.py26 import xml.etree.ElementTree as ET
/external/libmojo/third_party/catapult/devil/devil/android/
Dapp_ui.py9 from xml.etree import ElementTree as element_tree

12