XPathResult interface represents the result of the evaluation of an XPath 1.0 expression within the context of a particular node. Since evaluation of an XPath expression can result in various result types, this object makes it possible to discover and manipulate the type and value of the result.
public interface IXPathResult
|iterateNext()||Iterates and returns the next node from the node set or |
null if there are no more nodes.
|snapshotItem(int)||Returns the |
indexth item in the snapshot collection. If
index is greater than or equal to the number of nodes in the list, this method returns
null. Unlike the iterator result, the snapshot does not become invalid, but may not correspond to the current document if it is mutated.