iter(tag=None) Creates and returns a tree iterator for the root element. The iterator loops over all elements in this tree,
xmlparser.DefaultHandlerExpand(data) This is the same as the DefaultHandler(), but doesn’t inhibit expansion of
findall(match, namespaces=None) Finds all matching subelements, by tag name or path. Returns a list containing
xmlparser.CommentHandler(data) Called for comments. data is the text of the comment, excluding the leading '<
ContentHandler.ignorableWhitespace(whitespace) Receive notification of ignorable whitespace in element content.
Source code: Lib/xml/
xml.sax.handler.all_properties List of all known property names.
NodeList.length The number of nodes in the sequence.
ContentHandler.startElement(name, attrs) Signals the start of an element in non-namespace mode. The
class xml.etree.ElementTree.ElementTree(element=None, file=None) ElementTree wrapper class. This class represents an entire
Page 1 of 34