INode
A Node is an interface from which a number of DOM types inherit,
and allows these various types to be treated similarly.
Gets a string representing the base URL.
Gets a live NodeList containing all the children of this
node. NodeList being live means that if the children of
the Node change, the NodeList object is automatically updated.
Gets a Node representing the first direct child node
of the node, or null if the node has no child.
Gets a Boolean indicating if the element has any child nodes, or not.
Gets a Node representing the last direct child node
of the node, or null if the node has no child.
Gets a Node representing the next node in the tree,
or null if there isn't such node.
Gets a string containing the name of the Node. The structure
of the name will differ with the name type.
Gets an unsigned short representing the type of the node.
Gets a string representing the value of an object. For most Node
type, this returns null and any set operation is ignored.
Gets the Document that this node belongs to. If no document
is associated with it, returns null.
Gets a Node that is the parent of this node. If there is no such node,
like if this node is the top of the tree or if doesn't participate in
a tree, this property returns null.
Gets an Element that is the parent of this node. If the node has
no parent, or if that parent is not an Element, this property
returns null.
Gets a Node representing the previous node in the tree,
or null if there isn't such node.
Gets a string representing the textual content of an element and
all its descendants.
Inserts a Node as the last child node of this element.
Clones the Node, and optionally, all of its contents.
By default, it clones the content of the node.
Compares the position of two nodes in a document.
Returns true if other is an inclusive descendant of the context object,
and false otherwise (including when other is null).
Inserts the first Node given in a parameter immediately
before the second, child of this element, Node
Indicates whether or not a namespace is the default
namespace for a document.
Determines if two nodes are equal.
Gets the Uniform Resource Identifier (URI) of the
namespace associated with a namespace prefix, if any.
Gets the namespace prefix associated with a Uniform
Resource Identifier (URI), if any.
void Normalize()
Cleans up all the text nodes under this element, i.e. merges
adjacent and removes empty text nodes.
Removes a child node from the current element, which must
be a child of the current node.
Replaces one child Node of the current one with the second
one given in the parameters.