xml.dom.minidom.Element

class xml.dom.minidom.Element(tagName, namespaceURI=None, prefix=None, localName=None)[source]

Methods

__init__(tagName[, namespaceURI, prefix, ...])
__nonzero__()
__repr__()
_call_user_data_handler(operation, src, dst)
_get_attributes()
_get_childNodes()
_get_firstChild()
_get_lastChild()
_get_localName()
_get_tagName()
appendChild(node)
cloneNode(deep)
getAttribute(attname)
getAttributeNS(namespaceURI, localName)
getAttributeNode(attrname)
getAttributeNodeNS(namespaceURI, localName)
getElementsByTagName(name)
getElementsByTagNameNS(namespaceURI, localName)
getInterface(feature)
getUserData(key)
hasAttribute(name)
hasAttributeNS(namespaceURI, localName)
hasAttributes()
hasChildNodes()
insertBefore(newChild, refChild)
isSameNode(other)
isSupported(feature, version)
normalize()
removeAttribute(name)
removeAttributeNS(namespaceURI, localName)
removeAttributeNode(node)
removeAttributeNodeNS(node)
removeChild(oldChild)
replaceChild(newChild, oldChild)
setAttribute(attname, value)
setAttributeNS(namespaceURI, qualifiedName, ...)
setAttributeNode(attr)
setAttributeNodeNS(attr)
setIdAttribute(name)
setIdAttributeNS(namespaceURI, localName)
setIdAttributeNode(idAttr)
setUserData(key, data, handler)
toprettyxml([indent, newl, encoding])
toxml([encoding])
unlink()
writexml(writer[, indent, addindent, newl])