position A tuple of line, column numbers, specifying where the error occurred.
Document.getElementsByTagName(tagName) Search for all descendants (direct children, children’s children, etc.) with a particular
class xml.etree.ElementTree.ParseError XML parse error, raised by the various parsing methods in this module when parsing fails
Node.namespaceURI The namespace associated with the element name. This will be a string or None. This is a read-only
end(tag) Closes the current element. tag is the element name. Returns the closed element.
xmlparser.AttlistDeclHandler(elname, attname, type, default, required) Called for each declared attribute for an element type
clear() Resets an element. This function removes all subelements, clears all attributes, and sets the text and tail attributes
xmlparser.EndElementHandler(name) Called for the end of every element.
exception xml.sax.SAXParseException(msg, exception, locator) Subclass of SAXException raised on parse errors. Instances
exception xml.dom.InvalidStateErr Raised when an attempt is made to use an object that is not defined or is no longer usable
Page 13 of 34