Lines Matching defs:xml
18 """Parser for test definition xml files."""
21 import xml.dom.minidom
22 import xml.parsers
31 """Accessor for a test definitions xml file data.
55 doc = xml.dom.minidom.parse(file_path)
60 except xml.parsers.expat.ExpatError:
61 logger.Log("Error Parsing xml file: %s " % file_path)
64 logger.Log("Error Parsing xml file: %s Reason: %s" % (file_path, e.msg))
68 """Alternate parse method that accepts a string of the xml data."""
69 doc = xml.dom.minidom.parseString(xml_string)
77 if element.nodeType != xml.dom.Node.ELEMENT_NODE:
121 """Parses out a TestDefinitions from given path to xml file.
128 ParseError if xml format is not recognized