Node Interface
There are no implemented interfaces.
There are no attributes in this class.
getAttributes()
Returns a NamedNodeMap containing the attributes of this node (if it is an element) or None otherwise.
getChildNodes(type=<type 'type'>, sts=(<type 'str'>, <type 'unicode'>))
Returns a NodeList that contains all children of this node. If there are no children, this is a empty NodeList
getChildren()
Get a Python sequence of children
getFirstChild(type=<type 'type'>, sts=(<type 'str'>, <type 'unicode'>))
The first child of this node. If there is no such node this returns None
getLastChild(type=<type 'type'>, sts=(<type 'str'>, <type 'unicode'>))
The last child of this node. If there is no such node this returns None.
getNextSibling()
The node immediately preceding this node. If there is no such node, this returns None.
getNodeName()
The name of this node, depending on its type
getNodeValue()
The value of this node, depending on its type
getOwnerDocument()
The Document object associated with this node, if any.
getParentNode()
The parent of this node. All nodes except Document DocumentFragment and Attr may have a parent
getPreviousSibling()
The node immediately preceding this node. If there is no such node, this returns None.
hasChildNodes()
Returns true if the node has any children, false if it doesn't.