No class docstring
Method __init__ Undocumented
Method addPrefixes Undocumented
Method endTag Undocumented
Method isEqualToElement Undocumented
Method isEqualToNode Compare this element to other. If the nodeName, namespace, attributes, and childNodes are all the same, return True, otherwise return False.
Method cloneNode Undocumented
Method getElementsByTagName Undocumented
Method hasAttributes Undocumented
Method getAttribute Undocumented
Method getAttributeNS Undocumented
Method getAttributeNode Undocumented
Method setAttribute Undocumented
Method removeAttribute Undocumented
Method hasAttribute Undocumented
Method writexml Serialize this Element to the given stream.
Method __repr__ Undocumented
Method __str__ Undocumented

Inherited from Node:

Method toxml Undocumented
Method writeprettyxml Undocumented
Method toprettyxml Undocumented
Method hasChildNodes Undocumented
Method appendChild Make the given Node the last child of this node.
Method insertBefore Make the given Node new a child of this node which comes before the Node ref.
Method removeChild Remove the given Node from this node's children.
Method replaceChild Replace a Node which is already a child of this node with a different node.
Method lastChild Undocumented
Method firstChild Undocumented
def __init__(self, tagName, attributes=None, parentNode=None, filename=None, markpos=None, caseInsensitive=1, preserveCase=0, namespace=None):
Undocumented
def addPrefixes(self, pfxs):
Undocumented
def endTag(self, endTagName):
Undocumented
def isEqualToElement(self, n):
Undocumented
def isEqualToNode(self, other):

Compare this element to other. If the nodeName, namespace, attributes, and childNodes are all the same, return True, otherwise return False.

def cloneNode(self, deep=0, parent=None):
Undocumented
def getElementsByTagName(self, name):
Undocumented
def hasAttributes(self):
Undocumented
def getAttribute(self, name, default=None):
Undocumented
def getAttributeNS(self, ns, name, default=None):
Undocumented
def getAttributeNode(self, name):
Undocumented
def setAttribute(self, name, attr):
Undocumented
def removeAttribute(self, name):
Undocumented
def hasAttribute(self, name):
Undocumented
def writexml(self, stream, indent='', addindent='', newl='', strip=0, nsprefixes={}, namespace=''):

Serialize this Element to the given stream.

ParametersstreamA file-like object to which this Element will be written.
nsprefixesA dict mapping namespace URIs as str to prefixes as str. This defines the prefixes which are already in scope in the document at the point at which this Element exists. This is essentially an implementation detail for namespace support. Applications should not try to use it.
namespaceThe namespace URI as a str which is the default at the point in the document at which this Element exists. This is essentially an implementation detail for namespace support. Applications should not try to use it.
def __repr__(self):
Undocumented
def __str__(self):
Undocumented
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.