Package libxml2dom :: Class Node
[show private | hide private]
[frames | no frames]

Type Node

object --+
         |
        Node

Known Subclasses:
Attribute, Document, SVGElement

A DOM-style wrapper around libxml2mod objects.

Method Summary
  __init__(self, node, impl, ownerDocument)
  __eq__(self, other)
  __ne__(self, other)
  appendChild(self, tmp)
  as_native_node(self)
  cloneNode(self, deep)
  createAttribute(self, name)
  createAttributeNS(self, ns, name)
  createComment(self, value)
  createElement(self, name)
  createElementNS(self, ns, name)
  createTextNode(self, value)
  getAttribute(self, name)
  getAttributeNode(self, localName)
  getAttributeNodeNS(self, ns, localName)
  getAttributeNS(self, ns, localName)
  getElementsByTagName(self, tagName)
  getElementsByTagNameNS(self, namespaceURI, localName)
  hasAttribute(self, name)
  hasAttributeNS(self, ns, localName)
  importNode(self, node, deep)
  insertBefore(self, tmp, oldNode)
  isSameNode(self, other)
  normalize(self)
  removeAttribute(self, name)
  removeAttributeNS(self, ns, localName)
  removeChild(self, tmp)
  replaceChild(self, tmp, oldNode)
  setAttribute(self, name, value)
  setAttributeNode(self, node)
  setAttributeNodeNS(self, node)
  setAttributeNS(self, ns, name, value)
  toFile(self, f, encoding, prettyprint)
  toStream(self, stream, encoding, prettyprint)
  toString(self, encoding, prettyprint)
  xpath(self, expr, variables, namespaces)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...
  __str__(x)
x.__str__() <==> str(x)...

Property Summary
  attributes
  childNodes
  data
  doctype
  localName
  name
  namespaceURI
  nextSibling
  nodeName
  nodeType
  nodeValue
  parentNode
  prefix
  previousSibling
  publicId
  systemId
  tagName
  textContent
  value

Class Variable Summary
int ATTRIBUTE_NODE = 2                                                                     
int COMMENT_NODE = 8                                                                     
int DOCUMENT_NODE = 9                                                                     
int DOCUMENT_TYPE_NODE = 10                                                                    
int ELEMENT_NODE = 1                                                                     
dict entities = {}
int ENTITY_NODE = 6                                                                     
int ENTITY_REFERENCE_NODE = 5                                                                     
int NOTATION_NODE = 12                                                                    
dict notations = {}
int PROCESSING_INSTRUCTION_NODE = 7                                                                     
int TEXT_NODE = 3                                                                     

Class Variable Details

ATTRIBUTE_NODE

Type:
int
Value:
2                                                                     

COMMENT_NODE

Type:
int
Value:
8                                                                     

DOCUMENT_NODE

Type:
int
Value:
9                                                                     

DOCUMENT_TYPE_NODE

Type:
int
Value:
10                                                                    

ELEMENT_NODE

Type:
int
Value:
1                                                                     

entities

Type:
dict
Value:
{}                                                                     

ENTITY_NODE

Type:
int
Value:
6                                                                     

ENTITY_REFERENCE_NODE

Type:
int
Value:
5                                                                     

NOTATION_NODE

Type:
int
Value:
12                                                                    

notations

Type:
dict
Value:
{}                                                                     

PROCESSING_INSTRUCTION_NODE

Type:
int
Value:
7                                                                     

TEXT_NODE

Type:
int
Value:
3                                                                     

Generated by Epydoc 2.1 on Mon Mar 19 01:08:53 2007 http://epydoc.sf.net