xml.etree.ElementTree.ElementTree.
  • References/Python/Python/Structured Markup

_setroot(element) Replaces the root element for this tree. This discards the current contents of the tree, and replaces it with

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

xmlparser.CommentHandler(data) Called for comments. data is the text of the comment, excluding the leading '<

2025-01-10 15:47:30
xml.etree.ElementTree.Element.iterfind()
  • References/Python/Python/Structured Markup

iterfind(match, namespaces=None) Finds all matching subelements, by tag name or path. Returns an iterable yielding

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

HTMLParser.handle_entityref(name) This method is called to process a named character reference of the form &name;

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
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.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.etree.ElementTree.XMLID()
  • References/Python/Python/Structured Markup

xml.etree.ElementTree.XMLID(text, parser=None) Parses an XML section from a string constant, and also returns a dictionary which

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.sax.handler.all_properties
  • References/Python/Python/Structured Markup

xml.sax.handler.all_properties List of all known property names.

2025-01-10 15:47:30