HTMLParser.unknown_decl(data) This method is called when an unrecognized declaration is read by the parser.
xml.sax.saxutils.quoteattr(data, entities={}) Similar to escape(), but also prepares data to be used as
Source code: Lib/xml/
exception xml.dom.SyntaxErr Raised when an invalid or illegal string is specified.
NodeList.length The number of nodes in the sequence.
xmlparser.ParseFile(file) Parse XML data reading from the object file. file only needs to provide the
xmlparser.GetBase() Returns a string containing the base set by a previous call to SetBase(), or None
class xml.sax.xmlreader.XMLReader Base class which can be inherited by SAX parsers.
exception xml.sax.SAXNotSupportedException(msg, exception=None) Subclass of SAXException raised when a SAX
xml.sax.parseString(string, handler, error_handler=handler.ErrorHandler()) Similar to parse(), but parses from
Page 4 of 34