The kind of XML node this object represents.
The parent of this object in the XML tree, or null if it is a root.
Gets the next sibling node, or null if this is the last node.
Gets the previous sibling node, or null if this is the first node.
Inserts the specified content immediately after this node in its parent.
One or more nodes or strings to insert.
Performs a deep structural comparison of this node with another.
The node to compare against.
true if the two nodes are structurally identical.
Removes annotations from this object.
StaticdeepStatic convenience method for deep structural comparison of two nodes.
true if the two nodes are structurally identical.
Abstract base class for all XML nodes: elements, text, comments, CDATA sections, and processing instructions.
Remarks
XNodeextends XObject with sibling navigation, ancestor queries, parent-relative insertion and removal, and deep equality comparison.