Lines Matching defs:ElementTree
6 1. ElementTree represents the whole XML document as a tree and
11 usually done on the ElementTree level. Interactions with a single XML element
31 You can also use the ElementTree class to wrap an element structure
40 # ElementTree
46 # The ElementTree toolkit is
77 "Element", "ElementTree",
525 class ElementTree:
1098 ElementTree(element).write(stream, encoding,
1127 ElementTree(element).write(stream, encoding,
1140 *elem* is either an ElementTree, or a single Element. The exact output
1146 if not isinstance(elem, ElementTree):
1147 elem = ElementTree(elem)
1158 *tree* is the ElementTree or Element to modify. The (root) element
1169 if isinstance(tree, ElementTree):
1214 Return an ElementTree instance.
1217 tree = ElementTree()
1223 """Incrementally parse XML document into ElementTree.
1505 # also see ElementTree and TreeBuilder