ExpatError.code Expat’s internal error number for the specific error. The errors.messages dictionary maps these
NamedNodeMap.length The length of the attribute list.
Attr.localName The part of the name following the colon if there is one, else the entire name. This is a read-only attribute
ContentHandler.endDocument() Receive notification of the end of a document. The SAX parser will
xmlparser.NotStandaloneHandler() Called if the XML document hasn’t been declared as being a standalone document. This happens
XMLReader.setContentHandler(handler) Set the current
xml.parsers.expat.ParserCreate(encoding=None, namespace_separator=None) Creates and returns a new xmlparser object
XMLReader.getContentHandler() Return the current
xmlparser.buffer_used If buffer_text is enabled, the number of bytes stored in the buffer. These bytes represent
exception xml.parsers.expat.ExpatError The exception raised when Expat reports an error. See section ExpatError Exceptions
Page 27 of 34