XMLReader.setFeature(featurename, value) Set the featurename to value. If the feature is not recognized,
NamedNodeMap.item(index) Return an attribute with a particular index. The order you get the attributes in is arbitrary but will
find(match, namespaces=None) Finds the first subelement matching match. match may be a tag name or a path
exception xml.parsers.expat.error Alias for ExpatError.
Attr.value The text value of the attribute. This is a synonym for the nodeValue attribute.
Node.isSameNode(other) Returns true if other refers to the same node as this node. This is especially useful for DOM
Element.setAttributeNode(newAttr) Add a new attribute node to the element, replacing an existing attribute if necessary if the
class xml.sax.handler.EntityResolver Basic interface for resolving entities. If you create an object implementing this interface
append(subelement) Adds the element subelement to the end of this element’s internal list of subelements. Raises
makeelement(tag, attrib) Creates a new element object of the same type as this element. Do not call this method, use the
Page 17 of 34