xml.parsers.expat.xmlparser.ErrorLineNumber

xmlparser.ErrorLineNumber Line number at which an error occurred.

xml.parsers.expat.xmlparser.ErrorByteIndex

xmlparser.ErrorByteIndex Byte index at which an error occurred.

xml.parsers.expat.xmlparser.ErrorColumnNumber

xmlparser.ErrorColumnNumber Column number at which an error occurred.

xml.parsers.expat.xmlparser.DefaultHandlerExpand()

xmlparser.DefaultHandlerExpand(data) This is the same as the DefaultHandler(), but doesn’t inhibit expansion of internal entities. The entity reference will not be passed to the default handler.

xml.parsers.expat.xmlparser.EndDoctypeDeclHandler()

xmlparser.EndDoctypeDeclHandler() Called when Expat is done parsing the document type declaration. This requires Expat version 1.2 or newer.

xml.parsers.expat.xmlparser.ElementDeclHandler()

xmlparser.ElementDeclHandler(name, model) Called once for each element type declaration. name is the name of the element type, and model is a representation of the content model.

xml.parsers.expat.xmlparser.EndCdataSectionHandler()

xmlparser.EndCdataSectionHandler() Called at the end of a CDATA section.

xml.parsers.expat.xmlparser.DefaultHandler()

xmlparser.DefaultHandler(data) Called for any characters in the XML document for which no applicable handler has been specified. This means characters that are part of a construct which could be reported, but for which no handler has been supplied.

xml.parsers.expat.xmlparser.EndElementHandler()

xmlparser.EndElementHandler(name) Called for the end of every element.

xml.parsers.expat.xmlparser.CommentHandler()

xmlparser.CommentHandler(data) Called for comments. data is the text of the comment, excluding the leading '<!--' and trailing '-->'.