xml.sax.saxutils.prepare_input_source(source, base='') This function takes an input source and an optional base URL and returns
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
class xml.sax.xmlreader.IncrementalParser In some cases, it is desirable not to parse an input source at once, but to feed chunks
findall(match, namespaces=None) Finds all matching subelements, by tag name or path. Returns a list containing
NodeList.length The number of nodes in the sequence.
xmlparser.GetBase() Returns a string containing the base set by a previous call to SetBase(), or None
html.unescape(s) Convert all named and numeric character references (e.g. >, >,
exception xml.dom.SyntaxErr Raised when an invalid or illegal string is specified.
Node.prefix The part of the tagName preceding the colon if there is one, else the empty string. The value is a
Page 1 of 34