Lines Matching refs:xml
24 import xml.dom.minidom
25 from xml.parsers.expat import ExpatError
208 _testcase_xml = os.path.join(_testcases_dir, _testsuite_name + ".xml")
214 self._generate_json_by_template(_test_xml.replace(".xml", ".json"),
222 self._generate_json_by_template(_test_xml.replace(".xml", ".json"),
241 elif _test_xml.replace(".xml", ".json") and \
242 os.path.exists(_test_xml.replace(".xml", ".json")):
243 self._generate_json_by_template(_test_xml.replace(".xml", ".json"),
302 index = test_xml.rfind(".xml")
305 raise Exception("Can't find the Test.xml or "
335 dom = xml.dom.minidom.parse(xml_file)
349 raise Exception("Test.xml node name and "