xmlparser.CurrentByteIndex Current byte index in the parser input.
xmlparser.ElementDeclHandler(name, model) Called once for each element type declaration. name is the name of the element
start(tag, attrs) Opens a new element. tag is the element name. attrs is a dictionary containing element attributes
IncrementalParser.close() Assume the end of the document. That will check well-formedness conditions that can be checked only
Document.createTextNode(data) Create and return a text node containing the data passed as a parameter. As with the other creation
exception xml.parsers.expat.error Alias for ExpatError.
AttributesNS.getNameByQName(name) Return the (namespace, localname) pair for a qualified name.
append(subelement) Adds the element subelement to the end of this element’s internal list of subelements. Raises
HTMLParser.reset() Reset the instance. Loses all unprocessed data. This is called implicitly at instantiation time.
ProcessingInstruction.data The content of the processing instruction following the first whitespace character.
Page 20 of 34