Microsoft XML SDK 2.6 - XML Reference

peekNode Method

Gets the next node that nextNode will return without advancing the list position.

Set objXMLDOMNode = objXMLDOMSelection.peekNode

Remarks

Like nextNode, peekNode does not result in a snapshot of all matching nodes. Consecutive calls to peekNode will produce the same node over and over, independent of changes in the underlying tree.

See Also

Applies To: XMLDOMSelection Object