Package libxml2dom :: Module svg :: Class SVGNode
[show private | hide private]
[frames | no frames]

Type SVGNode

object --+    
         |    
      Node --+
             |
            SVGNode

Known Subclasses:
SVGDocument, SVGElement

Convenience modifications to nodes specific to libxml2dom.svg.

Method Summary
  xpath(self, expr, variables, namespaces)
Evaluate the given 'expr' using the optional 'variables' and 'namespaces'.
    Inherited from Node
  __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)
  createCDATASection(self, value)
  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)
    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
    Inherited from Node
  attributes
  childNodes
  data
  doctype
  localName
  name
  namespaceURI
  nextSibling
  nodeName
  nodeType
  nodeValue
  parentNode
  prefix
  previousSibling
  publicId
  systemId
  tagName
  textContent
  value

Class Variable Summary
    Inherited from Node
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                                                                     

Method Details

xpath(self, expr, variables=None, namespaces=None)

Evaluate the given 'expr' using the optional 'variables' and
'namespaces'. If not otherwise specified, the "svg" prefix will be bound
to SVG_NAMESPACE as defined in this module.
Overrides:
libxml2dom.Node.xpath

Generated by Epydoc 2.1 on Mon Mar 26 00:58:07 2007 http://epydoc.sf.net