xmlparser.DefaultHandlerExpand(data) This is the same as the DefaultHandler(), but doesn’t inhibit expansion of
ContentHandler.startElement(name, attrs) Signals the start of an element in non-namespace mode. The
iter(tag=None) Creates and returns a tree iterator for the root element. The iterator loops over all elements in this tree,
xmlparser.CommentHandler(data) Called for comments. data is the text of the comment, excluding the leading '<
Element.setAttribute(name, value) Set an attribute value from a string.
findall(match, namespaces=None) Same as Element.findall(), starting at the root of the tree.
DTDHandler.notationDecl(name, publicId, systemId) Handle a notation declaration event.
findall(match, namespaces=None) Finds all matching subelements, by tag name or path. Returns a list containing
itertext() Creates a text iterator. The iterator loops over this element and all subelements, in document order, and returns
xml.sax.handler.all_properties List of all known property names.
Page 1 of 34