Document.createAttributeNS(namespaceURI, qualifiedName) Create and return an attribute node with a namespace. The tagName
Element.getAttributeNodeNS(namespaceURI, localName) Return an attribute value as a node, given a namespaceURI and localName
xmlparser.UseForeignDTD([flag]) Calling this with a true value for flag (the default) will cause Expat to call the
Attributes.getNames() Return the names of the attributes.
ExpatError.lineno Line number on which the error was detected. The first line is numbered 1.
Attributes.getLength() Return the number of attributes.
class xml.dom.pulldom.DOMEventStream(stream, parser, bufsize) getEvent() Return
Attr.localName The part of the name following the colon if there is one, else the entire name. This is a read-only attribute
Node.toxml(encoding=None) Return a string or byte string containing the XML represented by the DOM node. With
attrib A dictionary containing the element’s attributes. Note that while the attrib value is always a real mutable
Page 23 of 34