XMLReader.getProperty(propertyname) Return the current setting for property propertyname. If the property is not recognized
ContentHandler.startElement(name, attrs) Signals the start of an element in non-namespace mode. The
xmlparser.StartElementHandler(name, attributes) Called for the start of every element. name is a string containing
InputSource.setCharacterStream(charfile) Set the character stream (a text file) for this
itertext() Creates a text iterator. The iterator loops over this element and all subelements, in document order, and returns
xmlparser.buffer_text Setting this to true causes the xmlparser object to buffer textual content returned by Expat
xmlparser.DefaultHandlerExpand(data) This is the same as the DefaultHandler(), but doesn’t inhibit expansion of
xmlparser.CommentHandler(data) Called for comments. data is the text of the comment, excluding the leading '<
Node.unlink() Break internal references within the DOM so that it will be garbage collected on versions of Python without cyclic
xml.etree.ElementTree.XML(text, parser=None) Parses an XML section from a string constant. This function can be used to embed
Page 6 of 34