xml.sax.saxutils.prepare_input_source(source, base='') This function takes an input source and an optional base URL and returns
feed(data) Feeds data to the parser. data is encoded data.
xmlparser.StartNamespaceDeclHandler(prefix, uri) Called when an element contains a namespace declaration. Namespace declarations
ContentHandler.ignorableWhitespace(whitespace) Receive notification of ignorable whitespace in element content.
Text.data The content of the text node as a string.
class xml.etree.ElementTree.TreeBuilder(element_factory=None) Generic element structure builder. This builder converts a sequence
HTMLParser.feed(data) Feed some text to the parser. It is processed insofar as it consists of complete elements; incomplete
HTMLParser.handle_startendtag(tag, attrs) Similar to handle_starttag(), but called when the parser encounters an
findall(match, namespaces=None) Same as Element.findall(), starting at the root of the tree.
class xml.sax.xmlreader.IncrementalParser In some cases, it is desirable not to parse an input source at once, but to feed chunks
Page 1 of 34