Lines Matching refs:ElementTree
138 from xml.etree import ElementTree
152 tree = ET.ElementTree(elem)
243 tree = ET.ElementTree(element)
246 tree = ET.ElementTree(element)
370 tree = ET.ElementTree(file=stringfile)
374 tree = ET.ElementTree(file=SIMPLE_XMLFILE)
385 for i in range(10): ET.ElementTree(elem).find('./'+str(i))
387 for i in range(10): ET.ElementTree(elem).find('./'+str(i))
389 for i in range(20): ET.ElementTree(elem).find('./'+str(i))
391 for i in range(600): ET.ElementTree(elem).find('./'+str(i))
1968 tree = ET.ElementTree(elem)
2189 t = ET.ElementTree(e)
2745 self.assertIsInstance(ET.ElementTree, type)
3033 self.assertEqual(ET.ElementTree(e).find('tag').tag, 'tag')
3034 self.assertEqual(ET.ElementTree(e).findtext('tag'), 'text')
3035 self.assertEqual(summarize_list(ET.ElementTree(e).findall('tag')),
3042 it = ET.ElementTree(e).findall('//tag')
3070 tree = ET.ElementTree(None)
3705 tree = ET.ElementTree(ET.XML('''<site />'''))
3712 tree = ET.ElementTree(ET.XML('''<site />'''))
3721 tree = ET.ElementTree(ET.XML('''<site />'''))
3730 tree = ET.ElementTree(ET.XML('''<site />'''))
3749 tree = ET.ElementTree()
3755 tree = ET.ElementTree(ET.XML('''<site />'''))
3761 tree = ET.ElementTree()
3767 tree = ET.ElementTree(ET.XML('''<site />'''))
3779 tree = ET.ElementTree()
3784 tree = ET.ElementTree(ET.XML('''<site />'''))
3795 tree = ET.ElementTree()
3798 tree = ET.ElementTree()
3801 tree = ET.ElementTree(ET.XML('''<site />'''))
3809 tree = ET.ElementTree(ET.XML('''<site />'''))