Element.setAttributeNS(namespaceURI, qname, value) Set an attribute value from a string, given a namespaceURI and a
HTMLParser.unknown_decl(data) This method is called when an unrecognized declaration is read by the parser.
doctype(name, pubid, system) Deprecated since version 3.2: Define
iterfind(match, namespaces=None) Same as Element.iterfind(), starting at the root of the tree.
class xml.sax.xmlreader.InputSource(system_id=None) Encapsulation of the information needed by the XMLReader to
xmlparser.EndDoctypeDeclHandler() Called when Expat is done parsing the document type declaration. This requires Expat version
xmlparser.ErrorCode Numeric code specifying the problem. This value can be passed to the ErrorString() function
Document.createAttribute(name) Create and return an attribute node. This method does not associate the attribute node with any
Document.createProcessingInstruction(target, data) Create and return a processing instruction node containing the target
NodeList.item(i) Return the i‘th item from the sequence, if there is one, or None. The index i
Page 3 of 34