html.parser.HTMLParser.unknown_decl()
  • References/Python/Python/Structured Markup

HTMLParser.unknown_decl(data) This method is called when an unrecognized declaration is read by the parser.

2025-01-10 15:47:30
xml.sax.saxutils.quoteattr()
  • References/Python/Python/Structured Markup

xml.sax.saxutils.quoteattr(data, entities={}) Similar to escape(), but also prepares data to be used as

2025-01-10 15:47:30
XML Processing Modules
  • References/Python/Python/Structured Markup

Source code: Lib/xml/

2025-01-10 15:47:30
xml.dom.SyntaxErr
  • References/Python/Python/Structured Markup

exception xml.dom.SyntaxErr Raised when an invalid or illegal string is specified.

2025-01-10 15:47:30
xml.dom.NodeList.length
  • References/Python/Python/Structured Markup

NodeList.length The number of nodes in the sequence.

2025-01-10 15:47:30
xml.parsers.expat.xmlparser.ParseFile()
  • References/Python/Python/Structured Markup

xmlparser.ParseFile(file) Parse XML data reading from the object file. file only needs to provide the

2025-01-10 15:47:30
xml.parsers.expat.xmlparser.GetBase()
  • References/Python/Python/Structured Markup

xmlparser.GetBase() Returns a string containing the base set by a previous call to SetBase(), or None

2025-01-10 15:47:30
xml.sax.xmlreader.XMLReader
  • References/Python/Python/Structured Markup

class xml.sax.xmlreader.XMLReader Base class which can be inherited by SAX parsers.

2025-01-10 15:47:30
xml.sax.SAXNotSupportedException
  • References/Python/Python/Structured Markup

exception xml.sax.SAXNotSupportedException(msg, exception=None) Subclass of SAXException raised when a SAX

2025-01-10 15:47:30
xml.sax.parseString()
  • References/Python/Python/Structured Markup

xml.sax.parseString(string, handler, error_handler=handler.ErrorHandler()) Similar to parse(), but parses from

2025-01-10 15:47:30