class documentation

Undocumented

Method __init__ Undocumented
Method appendChild Make the given Node the document element of this Document.
Method cloneNode Undocumented
Method createComment Undocumented
Method createElement Undocumented
Method createTextNode Undocumented
Method getElementById Undocumented
Method getElementsByTagName Undocumented
Method isEqualToDocument Undocumented
Method writexml Undocumented
Class Variable doctype Undocumented
Property documentElement Undocumented

Inherited from Node:

Method firstChild Undocumented
Method hasChildNodes Undocumented
Method insertBefore Make the given Node new a child of this node which comes before the Node ref.
Method isEqualToNode Compare this node to other. If the nodes have the same number of children and corresponding children are equal to each other, return True, otherwise return False.
Method lastChild Undocumented
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 toprettyxml Undocumented
Method toxml Undocumented
Method writeprettyxml Undocumented
Class Variable nodeName Undocumented
Instance Variable childNodes Undocumented
Instance Variable parentNode Undocumented
def __init__(self, documentElement=None): (source)

Undocumented

def appendChild(self, child): (source)

Make the given Node the document element of this Document.

Parameters
childThe Node to make into this Document's document element.
Raises
ValueErrorIf this document already has a document element.
def cloneNode(self, deep=0, parent=None): (source)

Undocumented

def createComment(self, text): (source)

Undocumented

def createElement(self, name, **kw): (source)

Undocumented

def createTextNode(self, text): (source)

Undocumented

def getElementById(self, id): (source)

Undocumented

def getElementsByTagName(self, name): (source)

Undocumented

def isEqualToDocument(self, n): (source)

Undocumented

def writexml(self, stream, indent='', addindent='', newl='', strip=0, nsprefixes={}, namespace=''): (source)

Undocumented

Undocumented

@property
documentElement = (source)

Undocumented