Element.removeAttribute(name) Remove an attribute by name. If there is no matching attribute, a NotFoundErr is
Node.firstChild The first child of the node, if there are any, or None. This is a read-only attribute.
xml.parsers.expat.ParserCreate(encoding=None, namespace_separator=None) Creates and returns a new xmlparser object
set(key, value) Set the attribute key on the element to value.
html.entities.codepoint2name A dictionary that maps Unicode code points to HTML entity names.
InputSource.getEncoding() Get the character encoding of this InputSource.
InputSource.setSystemId(id) Sets the system identifier of this InputSource.
Document.createElementNS(namespaceURI, tagName) Create and return a new element with a namespace. The tagName may have
HTMLParser.get_starttag_text() Return the text of the most recently opened start tag. This should not normally be needed for
Attr.localName The part of the name following the colon if there is one, else the entire name. This is a read-only attribute
Page 26 of 34