Node
Represents a node in the generated tree.
Gets the absolute base URI of a node or null if
unable to obtain an absolute URI.
Gets or sets the base url of the node.
Gets a boolean value indicating whether the current Node
has child nodes or not.
Gets the tag name for this node.
Gets the type of this node.
Gets or sets the value of the current node.
Gets the positions of the node in the original source code.
Gets or sets the parent element of this node.
Gets or sets the text content of a node and its descendants.
Copies all (Node) properties of the source to the target.
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.
Tests whether two nodes are equal.
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.
Tries to locate the namespace of the given prefix.
Tries to locate the prefix with the namespace.
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.
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.