ErrorHandler.error(exception) Called when the parser encounters a recoverable error. If this method does not raise an exception
DocumentType.name The name of the root element as given in the DOCTYPE declaration, if present.
xmlparser.specified_attributes If set to a non-zero integer, the parser will report only those attributes which were specified
iterfind(match, namespaces=None) Finds all matching subelements, by tag name or path. Returns an iterable yielding
xml.etree.ElementTree.XMLID(text, parser=None) Parses an XML section from a string constant, and also returns a dictionary which
feed(data) Feeds data to the parser. data is encoded data.
ErrorHandler.fatalError(exception) Called when the parser encounters an error it cannot recover from; parsing is expected to
_setroot(element) Replaces the root element for this tree. This discards the current contents of the tree, and replaces it with
DOMImplementation.createDocumentType(qualifiedName, publicId, systemId) Return a new DocumentType object that encapsulates
xmlparser.ErrorCode Numeric code specifying the problem. This value can be passed to the ErrorString() function
Page 7 of 34