_setroot(element) Replaces the root element for this tree. This discards the current contents of the tree, and replaces it with
xmlparser.CommentHandler(data) Called for comments. data is the text of the comment, excluding the leading '<
iterfind(match, namespaces=None) Finds all matching subelements, by tag name or path. Returns an iterable yielding
HTMLParser.handle_entityref(name) This method is called to process a named character reference of the form &name;
xmlparser.StartElementHandler(name, attributes) Called for the start of every element. name is a string containing
xmlparser.ParseFile(file) Parse XML data reading from the object file. file only needs to provide the
Element.removeAttributeNS(namespaceURI, localName) Remove an attribute by name. Note that it uses a localName, not a qname.
xml.etree.ElementTree.XMLID(text, parser=None) Parses an XML section from a string constant, and also returns a dictionary which
HTMLParser.handle_charref(name) This method is called to process decimal and hexadecimal numeric character references of the
xml.sax.handler.all_properties List of all known property names.
Page 4 of 34