This class is a read-only representation of an
XPathDocument based on
interface. It provides an easy-to-use data object for
quick XPath-based navigation, particularly for XSLT transformations.
XPathNavigator instance maintains
its state with the current node position to provide
the proper context for any XPath expression evaluation. Initially, the current
node is the root node. The current node is changed by using
Select() method or the
MoveTo* methods. If the XPath expression evaluates
to a set of nodes, the first node of the set is the current node for
object containing the set of nodes returned by the function. Except for plain-old
Select* functions do not change the current node of the
XPathNavigator they are used on. Any actions on the
objects that they return also do not affect the originating object.
takes an XPath expression string and encapsulates it
into a compiled
XPathExpression objects are used by
Matches() as input to search a node list.
Public MustInherit Class XPathNavigator : Implements ICloneable ' Protected Constructors Protected Sub New() ' Public Instance Properties MustInherit Public ReadOnly Property BaseURI As String MustInherit Public ReadOnly Property HasAttributes As Boolean MustInherit Public ReadOnly Property HasChildren ...