Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
xml.dom.minidom.Element Class Reference
Inheritance diagram for xml.dom.minidom.Element:
Inheritance graph
[legend]
Collaboration diagram for xml.dom.minidom.Element:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def unlink
def getAttribute
def getAttributeNS
def setAttribute
def setAttributeNS
def getAttributeNode
def getAttributeNodeNS
def setAttributeNode
def removeAttribute
def removeAttributeNS
def removeAttributeNode
def hasAttribute
def hasAttributeNS
def getElementsByTagName
def getElementsByTagNameNS
def __repr__
def writexml
def hasAttributes
def setIdAttribute
def setIdAttributeNS
def setIdAttributeNode
def __bool__
def toxml
def toprettyxml
def hasChildNodes
def insertBefore
def appendChild
def replaceChild
def removeChild
def normalize
def cloneNode
def isSupported
def isSameNode
def getInterface
def getUserData
def setUserData
def __enter__
def __exit__

Public Attributes

 tagName
 nodeName
 prefix
 namespaceURI
 childNodes

Static Public Attributes

 nodeType = Node.ELEMENT_NODE
 nodeValue = None
 schemaType = _no_type
 setAttributeNodeNS = setAttributeNode
 removeAttributeNodeNS = removeAttributeNode
 parentNode = None
 ownerDocument = None
 nextSibling = None
 previousSibling = None
int ELEMENT_NODE = 1
int ATTRIBUTE_NODE = 2
int TEXT_NODE = 3
int CDATA_SECTION_NODE = 4
int ENTITY_REFERENCE_NODE = 5
int ENTITY_NODE = 6
int PROCESSING_INSTRUCTION_NODE = 7
int COMMENT_NODE = 8
int DOCUMENT_NODE = 9
int DOCUMENT_TYPE_NODE = 10
int DOCUMENT_FRAGMENT_NODE = 11
int NOTATION_NODE = 12

Private Member Functions

def _get_localName
def _get_tagName
def _get_attributes

Private Attributes

 _attrs
 _attrsNS

Static Private Attributes

int _magic_id_nodes = 0
tuple _child_node_types

Detailed Description

Definition at line 661 of file minidom.py.


Constructor & Destructor Documentation

def xml.dom.minidom.Element.__init__ (   self,
  tagName,
  namespaceURI = EMPTY_NAMESPACE,
  prefix = None,
  localName = None 
)

Definition at line 676 of file minidom.py.

00676 
00677                  localName=None):
00678         self.tagName = self.nodeName = tagName
00679         self.prefix = prefix
00680         self.namespaceURI = namespaceURI
00681         self.childNodes = NodeList()
00682 
00683         self._attrs = {}   # attributes are double-indexed:
00684         self._attrsNS = {} #    tagName -> Attribute
00685                            #    URI,localName -> Attribute
00686                            # in the future: consider lazy generation
00687                            # of attribute objects this is too tricky
00688                            # for now because of headaches with
00689                            # namespaces.

Here is the caller graph for this function:


Member Function Documentation

def xml.dom.minidom.Node.__bool__ (   self) [inherited]

Definition at line 43 of file minidom.py.

00043 
00044     def __bool__(self):
00045         return True

def xml.dom.minidom.Node.__enter__ (   self) [inherited]

Definition at line 273 of file minidom.py.

00273 
00274     def __enter__(self):
00275         return self

def xml.dom.minidom.Node.__exit__ (   self,
  et,
  ev,
  tb 
) [inherited]

Definition at line 276 of file minidom.py.

00276 
00277     def __exit__(self, et, ev, tb):
00278         self.unlink()
00279 
00280 defproperty(Node, "firstChild", doc="First child node, or None.")
00281 defproperty(Node, "lastChild",  doc="Last child node, or None.")
00282 defproperty(Node, "localName",  doc="Namespace-local name of this node.")
00283 

Here is the call graph for this function:

Definition at line 822 of file minidom.py.

00822 
00823     def __repr__(self):
00824         return "<DOM Element: %s at %#x>" % (self.tagName, id(self))

def xml.dom.minidom.Element._get_attributes (   self) [private]

Definition at line 846 of file minidom.py.

00846 
00847     def _get_attributes(self):
00848         return NamedNodeMap(self._attrs, self._attrsNS, self)

Here is the caller graph for this function:

def xml.dom.minidom.Element._get_localName (   self) [private]

Reimplemented from xml.dom.minidom.Node.

Definition at line 690 of file minidom.py.

00690 
00691     def _get_localName(self):
00692         if 'localName' in self.__dict__:
00693             return self.__dict__['localName']
00694         return self.tagName.split(":", 1)[-1]

def xml.dom.minidom.Element._get_tagName (   self) [private]

Definition at line 695 of file minidom.py.

00695 
00696     def _get_tagName(self):
00697         return self.tagName

def xml.dom.minidom.Node.appendChild (   self,
  node 
) [inherited]

Reimplemented in xml.dom.minidom.Document, and xml.dom.minidom.Entity.

Definition at line 113 of file minidom.py.

00113 
00114     def appendChild(self, node):
00115         if node.nodeType == self.DOCUMENT_FRAGMENT_NODE:
00116             for c in tuple(node.childNodes):
00117                 self.appendChild(c)
00118             ### The DOM does not clearly specify what to return in this case
00119             return node
00120         if node.nodeType not in self._child_node_types:
00121             raise xml.dom.HierarchyRequestErr(
00122                 "%s cannot be child of %s" % (repr(node), repr(self)))
00123         elif node.nodeType in _nodeTypes_with_children:
00124             _clear_id_cache(self)
00125         if node.parentNode is not None:
00126             node.parentNode.removeChild(node)
00127         _append_child(self, node)
00128         node.nextSibling = None
00129         return node

Here is the call graph for this function:

Here is the caller graph for this function:

def xml.dom.minidom.Node.cloneNode (   self,
  deep 
) [inherited]

Reimplemented in xml.dom.minidom.Document, and xml.dom.minidom.DocumentType.

Definition at line 205 of file minidom.py.

00205 
00206     def cloneNode(self, deep):
00207         return _clone_node(self, deep, self.ownerDocument or self)

Here is the call graph for this function:

def xml.dom.minidom.Element.getAttribute (   self,
  attname 
)

Definition at line 705 of file minidom.py.

00705 
00706     def getAttribute(self, attname):
00707         try:
00708             return self._attrs[attname].value
00709         except KeyError:
00710             return ""

def xml.dom.minidom.Element.getAttributeNode (   self,
  attrname 
)

Definition at line 754 of file minidom.py.

00754 
00755     def getAttributeNode(self, attrname):
00756         return self._attrs.get(attrname)

Here is the caller graph for this function:

def xml.dom.minidom.Element.getAttributeNodeNS (   self,
  namespaceURI,
  localName 
)

Definition at line 757 of file minidom.py.

00757 
00758     def getAttributeNodeNS(self, namespaceURI, localName):
00759         return self._attrsNS.get((namespaceURI, localName))

Here is the caller graph for this function:

def xml.dom.minidom.Element.getAttributeNS (   self,
  namespaceURI,
  localName 
)

Definition at line 711 of file minidom.py.

00711 
00712     def getAttributeNS(self, namespaceURI, localName):
00713         try:
00714             return self._attrsNS[(namespaceURI, localName)].value
00715         except KeyError:
00716             return ""

Definition at line 815 of file minidom.py.

00815 
00816     def getElementsByTagName(self, name):
00817         return _get_elements_by_tagName_helper(self, name, NodeList())

Here is the call graph for this function:

def xml.dom.minidom.Element.getElementsByTagNameNS (   self,
  namespaceURI,
  localName 
)

Definition at line 818 of file minidom.py.

00818 
00819     def getElementsByTagNameNS(self, namespaceURI, localName):
00820         return _get_elements_by_tagName_ns_helper(
00821             self, namespaceURI, localName, NodeList())

Here is the call graph for this function:

def xml.dom.minidom.Node.getInterface (   self,
  feature 
) [inherited]

Definition at line 220 of file minidom.py.

00220 
00221     def getInterface(self, feature):
00222         if self.isSupported(feature, None):
00223             return self
00224         else:
00225             return None

Here is the call graph for this function:

def xml.dom.minidom.Node.getUserData (   self,
  key 
) [inherited]

Definition at line 230 of file minidom.py.

00230 
00231     def getUserData(self, key):
00232         try:
00233             return self._user_data[key][0]
00234         except (AttributeError, KeyError):
00235             return None

def xml.dom.minidom.Element.hasAttribute (   self,
  name 
)

Definition at line 809 of file minidom.py.

00809 
00810     def hasAttribute(self, name):
00811         return name in self._attrs

def xml.dom.minidom.Element.hasAttributeNS (   self,
  namespaceURI,
  localName 
)

Definition at line 812 of file minidom.py.

00812 
00813     def hasAttributeNS(self, namespaceURI, localName):
00814         return (namespaceURI, localName) in self._attrsNS

Definition at line 849 of file minidom.py.

00849 
00850     def hasAttributes(self):
00851         if self._attrs:
00852             return True
00853         else:
00854             return False

def xml.dom.minidom.Node.hasChildNodes (   self) [inherited]

Definition at line 64 of file minidom.py.

00064 
00065     def hasChildNodes(self):
00066         if self.childNodes:
00067             return True
00068         else:
00069             return False

def xml.dom.minidom.Node.insertBefore (   self,
  newChild,
  refChild 
) [inherited]

Reimplemented in xml.dom.minidom.Entity.

Definition at line 81 of file minidom.py.

00081 
00082     def insertBefore(self, newChild, refChild):
00083         if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE:
00084             for c in tuple(newChild.childNodes):
00085                 self.insertBefore(c, refChild)
00086             ### The DOM does not clearly specify what to return in this case
00087             return newChild
00088         if newChild.nodeType not in self._child_node_types:
00089             raise xml.dom.HierarchyRequestErr(
00090                 "%s cannot be child of %s" % (repr(newChild), repr(self)))
00091         if newChild.parentNode is not None:
00092             newChild.parentNode.removeChild(newChild)
00093         if refChild is None:
00094             self.appendChild(newChild)
00095         else:
00096             try:
00097                 index = self.childNodes.index(refChild)
00098             except ValueError:
00099                 raise xml.dom.NotFoundErr()
00100             if newChild.nodeType in _nodeTypes_with_children:
00101                 _clear_id_cache(self)
00102             self.childNodes.insert(index, newChild)
00103             newChild.nextSibling = refChild
00104             refChild.previousSibling = newChild
00105             if index:
00106                 node = self.childNodes[index-1]
00107                 node.nextSibling = newChild
00108                 newChild.previousSibling = node
00109             else:
00110                 newChild.previousSibling = None
00111             newChild.parentNode = self
00112         return newChild

Here is the call graph for this function:

Here is the caller graph for this function:

def xml.dom.minidom.Node.isSameNode (   self,
  other 
) [inherited]

Definition at line 217 of file minidom.py.

00217 
00218     def isSameNode(self, other):
00219         return self is other

Here is the caller graph for this function:

def xml.dom.minidom.Node.isSupported (   self,
  feature,
  version 
) [inherited]

Reimplemented in xml.dom.minidom.Document.

Definition at line 208 of file minidom.py.

00208 
00209     def isSupported(self, feature, version):
00210         return self.ownerDocument.implementation.hasFeature(feature, version)

Here is the caller graph for this function:

def xml.dom.minidom.Node.normalize (   self) [inherited]

Definition at line 178 of file minidom.py.

00178 
00179     def normalize(self):
00180         L = []
00181         for child in self.childNodes:
00182             if child.nodeType == Node.TEXT_NODE:
00183                 if not child.data:
00184                     # empty text node; discard
00185                     if L:
00186                         L[-1].nextSibling = child.nextSibling
00187                     if child.nextSibling:
00188                         child.nextSibling.previousSibling = child.previousSibling
00189                     child.unlink()
00190                 elif L and L[-1].nodeType == child.nodeType:
00191                     # collapse text node
00192                     node = L[-1]
00193                     node.data = node.data + child.data
00194                     node.nextSibling = child.nextSibling
00195                     if child.nextSibling:
00196                         child.nextSibling.previousSibling = node
00197                     child.unlink()
00198                 else:
00199                     L.append(child)
00200             else:
00201                 L.append(child)
00202                 if child.nodeType == Node.ELEMENT_NODE:
00203                     child.normalize()
00204         self.childNodes[:] = L

def xml.dom.minidom.Element.removeAttribute (   self,
  name 
)

Definition at line 780 of file minidom.py.

00780 
00781     def removeAttribute(self, name):
00782         try:
00783             attr = self._attrs[name]
00784         except KeyError:
00785             raise xml.dom.NotFoundErr()
00786         self.removeAttributeNode(attr)

Here is the call graph for this function:

def xml.dom.minidom.Element.removeAttributeNode (   self,
  node 
)

Definition at line 794 of file minidom.py.

00794 
00795     def removeAttributeNode(self, node):
00796         if node is None:
00797             raise xml.dom.NotFoundErr()
00798         try:
00799             self._attrs[node.name]
00800         except KeyError:
00801             raise xml.dom.NotFoundErr()
00802         _clear_id_cache(self)
00803         node.unlink()
00804         # Restore this since the node is still useful and otherwise
00805         # unlinked
00806         node.ownerDocument = self.ownerDocument

Here is the call graph for this function:

Here is the caller graph for this function:

def xml.dom.minidom.Element.removeAttributeNS (   self,
  namespaceURI,
  localName 
)

Definition at line 787 of file minidom.py.

00787 
00788     def removeAttributeNS(self, namespaceURI, localName):
00789         try:
00790             attr = self._attrsNS[(namespaceURI, localName)]
00791         except KeyError:
00792             raise xml.dom.NotFoundErr()
00793         self.removeAttributeNode(attr)

Here is the call graph for this function:

def xml.dom.minidom.Node.removeChild (   self,
  oldChild 
) [inherited]

Reimplemented in xml.dom.minidom.Document, and xml.dom.minidom.Entity.

Definition at line 162 of file minidom.py.

00162 
00163     def removeChild(self, oldChild):
00164         try:
00165             self.childNodes.remove(oldChild)
00166         except ValueError:
00167             raise xml.dom.NotFoundErr()
00168         if oldChild.nextSibling is not None:
00169             oldChild.nextSibling.previousSibling = oldChild.previousSibling
00170         if oldChild.previousSibling is not None:
00171             oldChild.previousSibling.nextSibling = oldChild.nextSibling
00172         oldChild.nextSibling = oldChild.previousSibling = None
00173         if oldChild.nodeType in _nodeTypes_with_children:
00174             _clear_id_cache(self)
00175 
00176         oldChild.parentNode = None
00177         return oldChild

Here is the call graph for this function:

Here is the caller graph for this function:

def xml.dom.minidom.Node.replaceChild (   self,
  newChild,
  oldChild 
) [inherited]

Reimplemented in xml.dom.minidom.Entity.

Definition at line 130 of file minidom.py.

00130 
00131     def replaceChild(self, newChild, oldChild):
00132         if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE:
00133             refChild = oldChild.nextSibling
00134             self.removeChild(oldChild)
00135             return self.insertBefore(newChild, refChild)
00136         if newChild.nodeType not in self._child_node_types:
00137             raise xml.dom.HierarchyRequestErr(
00138                 "%s cannot be child of %s" % (repr(newChild), repr(self)))
00139         if newChild is oldChild:
00140             return
00141         if newChild.parentNode is not None:
00142             newChild.parentNode.removeChild(newChild)
00143         try:
00144             index = self.childNodes.index(oldChild)
00145         except ValueError:
00146             raise xml.dom.NotFoundErr()
00147         self.childNodes[index] = newChild
00148         newChild.parentNode = self
00149         oldChild.parentNode = None
00150         if (newChild.nodeType in _nodeTypes_with_children
00151             or oldChild.nodeType in _nodeTypes_with_children):
00152             _clear_id_cache(self)
00153         newChild.nextSibling = oldChild.nextSibling
00154         newChild.previousSibling = oldChild.previousSibling
00155         oldChild.nextSibling = None
00156         oldChild.previousSibling = None
00157         if newChild.previousSibling:
00158             newChild.previousSibling.nextSibling = newChild
00159         if newChild.nextSibling:
00160             newChild.nextSibling.previousSibling = newChild
00161         return oldChild

Here is the call graph for this function:

def xml.dom.minidom.Element.setAttribute (   self,
  attname,
  value 
)

Definition at line 717 of file minidom.py.

00717 
00718     def setAttribute(self, attname, value):
00719         attr = self.getAttributeNode(attname)
00720         if attr is None:
00721             attr = Attr(attname)
00722             # for performance
00723             d = attr.__dict__
00724             d["value"] = d["nodeValue"] = value
00725             d["ownerDocument"] = self.ownerDocument
00726             self.setAttributeNode(attr)
00727         elif value != attr.value:
00728             d = attr.__dict__
00729             d["value"] = d["nodeValue"] = value
00730             if attr.isId:
00731                 _clear_id_cache(self)

Here is the call graph for this function:

def xml.dom.minidom.Element.setAttributeNode (   self,
  attr 
)

Definition at line 760 of file minidom.py.

00760 
00761     def setAttributeNode(self, attr):
00762         if attr.ownerElement not in (None, self):
00763             raise xml.dom.InuseAttributeErr("attribute node already owned")
00764         old1 = self._attrs.get(attr.name, None)
00765         if old1 is not None:
00766             self.removeAttributeNode(old1)
00767         old2 = self._attrsNS.get((attr.namespaceURI, attr.localName), None)
00768         if old2 is not None and old2 is not old1:
00769             self.removeAttributeNode(old2)
00770         _set_attribute_node(self, attr)
00771 
00772         if old1 is not attr:
00773             # It might have already been part of this node, in which case
00774             # it doesn't represent a change, and should not be returned.
00775             return old1
00776         if old2 is not attr:
00777             return old2

Here is the call graph for this function:

Here is the caller graph for this function:

def xml.dom.minidom.Element.setAttributeNS (   self,
  namespaceURI,
  qualifiedName,
  value 
)

Definition at line 732 of file minidom.py.

00732 
00733     def setAttributeNS(self, namespaceURI, qualifiedName, value):
00734         prefix, localname = _nssplit(qualifiedName)
00735         attr = self.getAttributeNodeNS(namespaceURI, localname)
00736         if attr is None:
00737             # for performance
00738             attr = Attr(qualifiedName, namespaceURI, localname, prefix)
00739             d = attr.__dict__
00740             d["prefix"] = prefix
00741             d["nodeName"] = qualifiedName
00742             d["value"] = d["nodeValue"] = value
00743             d["ownerDocument"] = self.ownerDocument
00744             self.setAttributeNode(attr)
00745         else:
00746             d = attr.__dict__
00747             if value != attr.value:
00748                 d["value"] = d["nodeValue"] = value
00749                 if attr.isId:
00750                     _clear_id_cache(self)
00751             if attr.prefix != prefix:
00752                 d["prefix"] = prefix
00753                 d["nodeName"] = qualifiedName

Here is the call graph for this function:

def xml.dom.minidom.Element.setIdAttribute (   self,
  name 
)

Definition at line 857 of file minidom.py.

00857 
00858     def setIdAttribute(self, name):
00859         idAttr = self.getAttributeNode(name)
00860         self.setIdAttributeNode(idAttr)

Here is the call graph for this function:

def xml.dom.minidom.Element.setIdAttributeNode (   self,
  idAttr 
)

Definition at line 865 of file minidom.py.

00865 
00866     def setIdAttributeNode(self, idAttr):
00867         if idAttr is None or not self.isSameNode(idAttr.ownerElement):
00868             raise xml.dom.NotFoundErr()
00869         if _get_containing_entref(self) is not None:
00870             raise xml.dom.NoModificationAllowedErr()
00871         if not idAttr._is_id:
00872             idAttr.__dict__['_is_id'] = True
00873             self._magic_id_nodes += 1
00874             self.ownerDocument._magic_id_count += 1
00875             _clear_id_cache(self)
00876 
00877 defproperty(Element, "attributes",
00878             doc="NamedNodeMap of attributes on the element.")
00879 defproperty(Element, "localName",
00880             doc="Namespace-local name of this element.")
00881 

Here is the call graph for this function:

Here is the caller graph for this function:

def xml.dom.minidom.Element.setIdAttributeNS (   self,
  namespaceURI,
  localName 
)

Definition at line 861 of file minidom.py.

00861 
00862     def setIdAttributeNS(self, namespaceURI, localName):
00863         idAttr = self.getAttributeNodeNS(namespaceURI, localName)
00864         self.setIdAttributeNode(idAttr)

Here is the call graph for this function:

def xml.dom.minidom.Node.setUserData (   self,
  key,
  data,
  handler 
) [inherited]

Definition at line 236 of file minidom.py.

00236 
00237     def setUserData(self, key, data, handler):
00238         old = None
00239         try:
00240             d = self._user_data
00241         except AttributeError:
00242             d = {}
00243             self._user_data = d
00244         if key in d:
00245             old = d[key][0]
00246         if data is None:
00247             # ignore handlers passed for None
00248             handler = None
00249             if old is not None:
00250                 del d[key]
00251         else:
00252             d[key] = (data, handler)
00253         return old

def xml.dom.minidom.Node.toprettyxml (   self,
  indent = "\t",
  newl = "\n",
  encoding = None 
) [inherited]

Definition at line 49 of file minidom.py.

00049 
00050     def toprettyxml(self, indent="\t", newl="\n", encoding=None):
00051         # indent = the indentation string to prepend, per level
00052         # newl = the newline string to append
00053         use_encoding = "utf-8" if encoding is None else encoding
00054         writer = codecs.getwriter(use_encoding)(io.BytesIO())
00055         if self.nodeType == Node.DOCUMENT_NODE:
00056             # Can pass encoding only to document, to put it into XML header
00057             self.writexml(writer, "", indent, newl, encoding)
00058         else:
00059             self.writexml(writer, "", indent, newl)
00060         if encoding is None:
00061             return writer.stream.getvalue().decode(use_encoding)
00062         else:
00063             return writer.stream.getvalue()

Here is the call graph for this function:

Here is the caller graph for this function:

def xml.dom.minidom.Node.toxml (   self,
  encoding = None 
) [inherited]

Definition at line 46 of file minidom.py.

00046 
00047     def toxml(self, encoding=None):
00048         return self.toprettyxml("", "", encoding)

Here is the call graph for this function:

Reimplemented from xml.dom.minidom.Node.

Definition at line 698 of file minidom.py.

00698 
00699     def unlink(self):
00700         for attr in list(self._attrs.values()):
00701             attr.unlink()
00702         self._attrs = None
00703         self._attrsNS = None
00704         Node.unlink(self)

def xml.dom.minidom.Element.writexml (   self,
  writer,
  indent = "",
  addindent = "",
  newl = "" 
)

Definition at line 825 of file minidom.py.

00825 
00826     def writexml(self, writer, indent="", addindent="", newl=""):
00827         # indent = current indentation
00828         # addindent = indentation to add to higher levels
00829         # newl = newline string
00830         writer.write(indent+"<" + self.tagName)
00831 
00832         attrs = self._get_attributes()
00833         a_names = sorted(attrs.keys())
00834 
00835         for a_name in a_names:
00836             writer.write(" %s=\"" % a_name)
00837             _write_data(writer, attrs[a_name].value)
00838             writer.write("\"")
00839         if self.childNodes:
00840             writer.write(">%s"%(newl))
00841             for node in self.childNodes:
00842                 node.writexml(writer,indent+addindent,addindent,newl)
00843             writer.write("%s</%s>%s" % (indent,self.tagName,newl))
00844         else:
00845             writer.write("/>%s"%(newl))

Here is the call graph for this function:


Member Data Documentation

Definition at line 682 of file minidom.py.

Definition at line 683 of file minidom.py.

Initial value:
(Node.ELEMENT_NODE,
                         Node.PROCESSING_INSTRUCTION_NODE,
                         Node.COMMENT_NODE,
                         Node.TEXT_NODE,
                         Node.CDATA_SECTION_NODE,
                         Node.ENTITY_REFERENCE_NODE)

Definition at line 668 of file minidom.py.

Definition at line 666 of file minidom.py.

int xml.dom.Node.ATTRIBUTE_NODE = 2 [static, inherited]

Definition at line 29 of file __init__.py.

int xml.dom.Node.CDATA_SECTION_NODE = 4 [static, inherited]

Definition at line 31 of file __init__.py.

Reimplemented from xml.dom.minidom.Node.

Definition at line 680 of file minidom.py.

int xml.dom.Node.COMMENT_NODE = 8 [static, inherited]

Definition at line 35 of file __init__.py.

int xml.dom.Node.DOCUMENT_FRAGMENT_NODE = 11 [static, inherited]

Definition at line 38 of file __init__.py.

int xml.dom.Node.DOCUMENT_NODE = 9 [static, inherited]

Definition at line 36 of file __init__.py.

int xml.dom.Node.DOCUMENT_TYPE_NODE = 10 [static, inherited]

Definition at line 37 of file __init__.py.

int xml.dom.Node.ELEMENT_NODE = 1 [static, inherited]

Definition at line 28 of file __init__.py.

int xml.dom.Node.ENTITY_NODE = 6 [static, inherited]

Definition at line 33 of file __init__.py.

int xml.dom.Node.ENTITY_REFERENCE_NODE = 5 [static, inherited]

Definition at line 32 of file __init__.py.

Reimplemented from xml.dom.minidom.Node.

Definition at line 679 of file minidom.py.

xml.dom.minidom.Node.nextSibling = None [static, inherited]

Definition at line 38 of file minidom.py.

Definition at line 677 of file minidom.py.

Reimplemented from xml.dom.minidom.Node.

Definition at line 662 of file minidom.py.

Definition at line 663 of file minidom.py.

int xml.dom.Node.NOTATION_NODE = 12 [static, inherited]

Definition at line 39 of file __init__.py.

xml.dom.minidom.Node.ownerDocument = None [static, inherited]

Definition at line 37 of file minidom.py.

xml.dom.minidom.Node.parentNode = None [static, inherited]

Reimplemented in xml.dom.minidom.Document, and xml.dom.minidom.DocumentFragment.

Definition at line 36 of file minidom.py.

Reimplemented from xml.dom.minidom.Node.

Definition at line 678 of file minidom.py.

xml.dom.minidom.Node.previousSibling = None [static, inherited]

Reimplemented in xml.dom.minidom.Document.

Definition at line 39 of file minidom.py.

Definition at line 34 of file __init__.py.

Definition at line 807 of file minidom.py.

Definition at line 664 of file minidom.py.

Definition at line 778 of file minidom.py.

Definition at line 677 of file minidom.py.

int xml.dom.Node.TEXT_NODE = 3 [static, inherited]

Definition at line 30 of file __init__.py.


The documentation for this class was generated from the following file: