iter(tag=None) Creates a tree iterator with the current element as the root. The iterator
xmlparser.StartDoctypeDeclHandler(doctypeName, systemId, publicId, has_internal_subset) Called when Expat begins parsing the
XMLReader.setContentHandler(handler) Set the current
DTDHandler.unparsedEntityDecl(name, publicId, systemId, ndata) Handle an unparsed entity declaration event.
XMLReader.getEntityResolver() Return the current
ExpatError.code Expat’s internal error number for the specific error. The errors.messages dictionary maps these
ContentHandler.skippedEntity(name) Receive notification of a skipped entity. The Parser will
XMLReader.getContentHandler() Return the current
InputSource.getEncoding() Get the character encoding of this InputSource.
class xml.sax.handler.ContentHandler This is the main callback interface in SAX, and the one most important to applications
Page 24 of 34