Staging: this is not the live site, pydocs.org.
Structured Markup Processing Tools
Class giving the NodeType constants.
Members of Node
a
- appendChild
- Add a new child node to this node at the end of the list of children, returning newChild.
- ATTRIBUTE_NODE
- Integer constants for the possible values of the nodeType attribute.
c
- childNodes
- A NodeList of the children of this node.
- COMMENT_NODE
- Integer constants for the possible values of the nodeType attribute.
d
- DOCUMENT_NODE
- Integer constants for the possible values of the nodeType attribute.
e
- ELEMENT_NODE
- Integer constants for the possible values of the nodeType attribute.
- ENTITY_NODE
- Integer constants for the possible values of the nodeType attribute.
f
- firstChild
- The first child of the node, if there are any, or None.
g
- getUserData
- Return the data associated with key on this node by setUserData(), or None.
i
- insertBefore
- Insert a new child node before an existing child.
- isSameNode
- Return True if other refers to the same node as this node.
- isSupported
- Return whether the DOM implementation supports a particular feature, as DOMImplementation.hasFeature() does.
l
- lastChild
- The last child of the node, if there are any, or None.
- localName
- The part of the tagName following the colon if there is one, else the entire tagName.
n
- nextSibling
- The node that immediately follows this one with the same parent.
- nodeName
- The name of this node, depending on its type; see the table below.
- nodeType
- An integer representing the node type.
- nodeValue
- The value of this node, depending on its type; see the table below.
- normalize
- Join adjacent text nodes so that all stretches of text are stored as single Text instances.
- NOTATION_NODE
- Integer constants for the possible values of the nodeType attribute.
o
- ownerDocument
- The Document object to which this node belongs, or None for a document itself.
p
- parentNode
- The parent of the current node, or None for the document node.
- prefix
- The part of the tagName preceding the colon if there is one, else the empty string.
- previousSibling
- The node that immediately precedes this one with the same parent.
s
- setUserData
- Associate data with key on this node and return the data previously associated with key, or None.
t
- TEXT_NODE
- Integer constants for the possible values of the nodeType attribute.