xml.sax.handler.ErrorHandler.fatalError()
  • References/Python/Python/Structured Markup

ErrorHandler.fatalError(exception) Called when the parser encounters an error it cannot recover from; parsing is expected to

2025-01-10 15:47:30
html.parser.HTMLParser.handle_charref()
  • References/Python/Python/Structured Markup

HTMLParser.handle_charref(name) This method is called to process decimal and hexadecimal numeric character references of the

2025-01-10 15:47:30
xml.dom.Element.setAttributeNS()
  • References/Python/Python/Structured Markup

Element.setAttributeNS(namespaceURI, qname, value) Set an attribute value from a string, given a namespaceURI and a

2025-01-10 15:47:30
xml.dom.DOMImplementation.createDocumentType()
  • References/Python/Python/Structured Markup

DOMImplementation.createDocumentType(qualifiedName, publicId, systemId) Return a new DocumentType object that encapsulates

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
html.parser.HTMLParser.handle_startendtag()
  • References/Python/Python/Structured Markup

HTMLParser.handle_startendtag(tag, attrs) Similar to handle_starttag(), but called when the parser encounters an

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

xmlparser.NotationDeclHandler(notationName, base, systemId, publicId) Called for notation declarations. notationName

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

xmlparser.StartNamespaceDeclHandler(prefix, uri) Called when an element contains a namespace declaration. Namespace declarations

2025-01-10 15:47:30
xml.dom.Element.removeAttributeNS()
  • References/Python/Python/Structured Markup

Element.removeAttributeNS(namespaceURI, localName) Remove an attribute by name. Note that it uses a localName, not a qname.

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

InputSource.setCharacterStream(charfile) Set the character stream (a text file) for this

2025-01-10 15:47:30