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.parsers.expat.xmlparser.specified_attributes
  • References/Python/Python/Structured Markup

xmlparser.specified_attributes If set to a non-zero integer, the parser will report only those attributes which were specified

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

Text.data The content of the text node as a string.

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.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.parsers.expat.xmlparser.buffer_text
  • References/Python/Python/Structured Markup

xmlparser.buffer_text Setting this to true causes the xmlparser object to buffer textual content returned by Expat

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

Node.prefix The part of the tagName preceding the colon if there is one, else the empty string. The value is a

2025-01-10 15:47:30
html.entities.entitydefs
  • References/Python/Python/Structured Markup

html.entities.entitydefs A dictionary mapping XHTML 1.0 entity definitions to their replacement text in ISO Latin-1.

2025-01-10 15:47:30
xml.dom.minidom.Node.unlink()
  • References/Python/Python/Structured Markup

Node.unlink() Break internal references within the DOM so that it will be garbage collected on versions of Python without cyclic

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

xmlparser.StartElementHandler(name, attributes) Called for the start of every element. name is a string containing

2025-01-10 15:47:30