Lines Matching refs:xml
25 from xml.etree import ElementTree
51 self.xml = xml_gen.XMLGenerator(self._TEST_DIR, self._XML_NAME)
52 common_util.file_generate(self.xml.xml_path, self._DEFAULT_XML)
53 self.xml.parse()
61 node = self.xml.xml_obj.getroot()
63 elements = self.xml.find_elements_by_name('a', 'b')
68 node = self.xml.xml_obj.getroot()
69 self.xml.append_node(node, '<a />')
76 self.xml.create_xml()
109 mock_xml_gen.return_value = self.xml
111 ignore_root = self.xml.xml_obj.find('component').find('ignored-roots')
115 self.xml = xml_gen.XMLGenerator(self._TEST_DIR, 'workspace.xml')
116 mock_xml_gen.return_value = self.xml
118 ignore_root = self.xml.xml_obj.find('component').find('ignored-roots')