exception xml.dom.DOMException Base exception class used for all specific DOM exceptions. This exception class cannot be directly
exception xml.dom.WrongDocumentErr Raised when a node is inserted in a different document than it currently belongs to, and
Node.writexml(writer, indent="", addindent="", newl="") Write XML to the writer object. The writer should have a write()
Document.getElementsByTagName(tagName) Search for all descendants (direct children, children’s children, etc.) with a particular
xmlparser.EndCdataSectionHandler() Called at the end of a CDATA section.
exception xml.sax.SAXParseException(msg, exception, locator) Subclass of SAXException raised on parse errors. Instances
parse(source, parser=None) Loads an external XML section into this element tree. source is a file name or
xml.sax.handler.property_declaration_handler value: "http://xml.org/sax/prope
Node.hasChildNodes() Returns true if the node has any child nodes.
get(key, default=None) Gets the element attribute named key. Returns the attribute
Page 14 of 34