Node.insertBefore(newChild, refChild) Insert a new child node before an existing child. It must be the case that refChild
Node.hasChildNodes() Returns true if the node has any child nodes.
Attr.name The attribute name. In a namespace-using document it may include a colon.
xmlparser.ErrorColumnNumber Column number at which an error occurred.
Document.getElementsByTagName(tagName) Search for all descendants (direct children, children’s children, etc.) with a particular
html.escape(s, quote=True) Convert the characters &, < and > in string s
xmlparser.ErrorLineNumber Line number at which an error occurred.
Attr.prefix The part of the name preceding the colon if there is one, else the empty string.
data(data) Adds text to the current element. data is a string. This should be either a bytestring, or a Unicode string
Element.removeAttributeNode(oldAttr) Remove and return oldAttr from the attribute list, if present. If oldAttr
Page 13 of 34