Node
Represents a node in the generated tree.
The attributes of the node.
The node's baseURI.
The upper nodes.
The node's name.
The node's namespace.
The responsible document.
The lower node.
The type of the node.
Gets the attributes for this node.
Gets or sets the absolute base URI of a node or null if unable to obtain an absolute URI.
Gets the children of this node.
Gets the first child node of this node.
Gets a boolean value indicating whether the current Node has attribute nodes or not.
Gets a boolean value indicating whether the current Node has child nodes or not.
Gets the last child node of this node.
Gets the local part of the qualified name of this node.
Gets or sets the namespace URI of this node.
Gets the node immediately following this node's parent's list of nodes,
or null if the current node is the last node in that list.
Gets the tag name for this node.
Gets the type of this node.
Gets or sets the value of the current node.
Gets the owner document of the node.
Gets or sets the parent element of this node.
Gets the parent node of this node, which is either an Element node, a Document node, or a DocumentFragment node.
Gets the namespace prefix of the specified node, or null if no prefix is specified.
Gets the node immediately preceding this node's parent's list of nodes,
null if the specified node is the first in that list.
Gets or sets the text content of a node and its descendants.
public Node()
Constructs a new node.
Copies all (Node) properties of the source to the target.
Checks if the given namespace name and URI are valid.
Adds a child to the collection of children.
Returns a duplicate of the node on which this method was called.
Compares the position of the current node against another node in any other document.
Indicates whether a node is a descendent of this node.
Inserts the specified node before a reference element as a child of the current node.
Inserts a child to the collection of children at the specified index.
Accepts a namespace URI as an argument and returns true if the namespace is the default namespace on the given node or false if not.
Tests whether two nodes are equal.
Returns the prefix for a given namespaceURI if present, and null if not. When multiple prefixes are possible,
the result is implementation-dependent.
Takes a prefix and returns the namespaceURI associated with it on the given node if found (and null if not).
Supplying null for the prefix will return the default namespace.
Returns the prefix for a given namespaceURI if present, and null if not. When multiple prefixes are possible,
the result is implementation-dependent.
Runs the mutation macro as defined in 5.2.2 Mutation methods
of http://www.w3.org/TR/domcore/.
Puts the specified node and all of its subtree into a "normalized" form. In a normalized subtree, no text nodes in the
subtree are empty and there are no adjacent text nodes.
Removes a child from the collection of children.
Replaces one child node of the specified element with another.
Returns an HTML-code representation of the node.
Returns a (string) tree representation of the node and all sub-nodes.