Lines Matching refs:_root
538 self._root = element # first node
544 return self._root
554 self._root = element
580 self._root = parser._parse_whole(source)
581 return self._root
587 self._root = parser.close()
588 return self._root
603 return self._root.iter(tag)
625 return self._root.find(path, namespaces)
647 return self._root.findtext(path, default, namespaces)
669 return self._root.findall(path, namespaces)
691 return self._root.iterfind(path, namespaces)
744 _serialize_text(write, self._root)
746 qnames, namespaces = _namespaces(self._root, default_namespace)
748 serialize(write, self._root, qnames, namespaces,
1419 self._root = None # root element
1436 assert self._root is not None, "missing toplevel element"
1437 return self._root
1466 elif self._root is None:
1467 self._root = elem