This class represents a node in the XDM data model. A Node is an {@link XdmItem}, and is therefore an {@link XdmValue} in its own right, and may also participate as one item within a sequence value.
An XdmNode is implemented as a wrapper around an object of type {@link net.sf.saxon.om.NodeInfo}. Because this is a key interface within Saxon, it is exposed via this API.
The XdmNode interface exposes basic properties of the node, such as its name, its string value, and its typed value. Navigation to other nodes is supported through a single method, {@link #axisIterator}, which allows other nodes to be retrieved by following any of the XPath axes.
Note that node identity cannot be inferred from object identity. The same node may be represented by different XdmNode
instances at different times, or even at the same time. The equals() method on this class can be used to test for node identity.
@since 9.0