class xml.sax.xmlreader.Locator Interface for associating a SAX event with a document location. A locator object will return
Document.getElementsByTagNameNS(namespaceURI, localName) Search for all descendants (direct children, children’s children, etc
Document.createElement(tagName) Create and return a new element node. The element is not inserted into the document when it
exception xml.dom.IndexSizeErr Raised when an index or size parameter to a method is negative or exceeds the allowed values
DocumentType.internalSubset A string giving the complete internal subset from the document. This does not include the brackets
xml.etree.ElementTree.parse(source, parser=None) Parses an XML section into an element tree. source is a filename or
HTMLParser.handle_starttag(tag, attrs) This method is called to handle the start of a tag (e.g. <div id="main">)
Element.getElementsByTagNameNS(namespaceURI, localName) Same as equivalent method in the Document class.
XMLReader.parse(source) Process an input source, producing SAX events. The source object can be a system identifier
xml.etree.ElementTree.fromstring(text) Parses an XML section from a string constant. Same as XML(). text
Page 16 of 34