Searched refs:getroot (Results 1 – 25 of 28) sorted by relevance
12
56 root = tree.getroot()86 root = tree.getroot()
53 self.assert_(markdown.etree.iselement(tree.getroot()))54 self.assertEqual(markdown.etree.tostring(tree.getroot()),
42 self.root = tree.getroot()
34 recursive_search(tree.getroot())
80 data = ElementTree.parse(file).getroot()
619 def getroot(self): member in ElementTree1165 tail = elem.getroot().tail
67 rootElement = xmlTree.getroot()
560 def getroot(self): member in ElementTree1179 tail = elem.getroot().tail
85 root = tree.getroot()
84 tree.getroot(),
58 roots = [ etree.parse(xmlFile).getroot() for xmlFile in xmlFiles ]
98 root = tree.getroot()
273 write_html(ElementTree(element).getroot(),file,encoding)
391 root = self.parser.parseDocument(self.lines).getroot()
323 root = xml.etree.ElementTree.parse(config_path).getroot()
224 check_element(tree.getroot())722 for elem in tree.getroot().iter()], [1317 return ET.parse(f).getroot()2999 self.assertEqual(tree.getroot().tag, 'site')3011 self.assertEqual(tree.getroot().tag, 'site')3028 self.assertEqual(tree.getroot().tag, 'site')3044 self.assertEqual(tree.getroot().tag, 'site')
119 element = element_or_tree.getroot()
484 return result.getroot()
363 if not 'package' in tree.getroot().attrib:366 return tree.getroot().attrib['package']
112 root = tree.getroot()823 .. method:: getroot()838 getroot().iterfind(match). Returns an iterable yielding all matching
909 element = doc.getroot()
300 self.reg = self.tree.getroot()
82 root = tree.getroot()897 .. method:: getroot()
652 self.root = tree.getroot()