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
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
xml.etree.ElementTree.XML(text, parser=None) Parses an XML section from a string constant. This function can be used to embed
Page 1 of 34