XMLReader.getEntityResolver() Return the current
ExpatError.lineno Line number on which the error was detected. The first line is numbered 1.
xmlparser.StartDoctypeDeclHandler(doctypeName, systemId, publicId, has_internal_subset) Called when Expat begins parsing the
xmlparser.buffer_used If buffer_text is enabled, the number of bytes stored in the buffer. These bytes represent
class xml.sax.saxutils.XMLGenerator(out=None, encoding='iso-8859-1', short_empty_elements=False) This class implements the
HTMLParser.handle_data(data) This method is called to process arbitrary data (e.g. text nodes and the content of <script>
xmlparser.EntityDeclHandler(entityName, is_parameter_entity, value, base, systemId, publicId, notationName) Called for all entity
XMLReader.setContentHandler(handler) Set the current
xmlparser.UseForeignDTD([flag]) Calling this with a true value for flag (the default) will cause Expat to call the
xmlparser.Parse(data[, isfinal]) Parses the contents of the string data, calling the appropriate handler functions
Page 27 of 34