Document.createElement(tagName) Create and return a new element node. The element is not inserted into the document when it
xmlparser.ElementDeclHandler(name, model) Called once for each element type declaration. name is the name of the element
XMLReader.getErrorHandler() Return the current
xml.etree.ElementTree.tostring(element, encoding="us-ascii", method="xml", *, short_empty_elements=True) Generates a string
class xml.sax.handler.DTDHandler Handle DTD events. This interface specifies only those DTD
Attributes.getType(name) Returns the type of the attribute name, which is normally 'CDATA'.
xmlparser.ExternalEntityRefHandler(context, base, systemId, publicId) Called for references to external entities. base
Document.getElementsByTagNameNS(namespaceURI, localName) Search for all descendants (direct children, children’s children, etc
class xml.etree.ElementTree.XMLPullParser(events=None) A pull parser suitable for non-blocking applications. Its input-side
ContentHandler.startElementNS(name, qname, attrs) Signals the start of an element in namespace mode. The
Page 18 of 34