Microsoft XML SDK 2.6 - XML Reference

XMLDOMSelection Properties, Methods, and Events

Properties

context Specifies the node (subtree) to apply a selection.
expr Gets or puts the XPath expression string.
length Indicates the number of items in a collection.

Methods

clone Produces an exact copy of the current XMLDOMSelection object.
getProperty Looks up a property by name.
item Allows random access to individual nodes within a collection. This method has no effect on the current position.
matches Checks whether the passed-in node is contained in the current collection.
nextNode Returns the next node in a collection.
peekNode Gets the next node that nextNode will return without advancing the line position.
removeAll Removes all the nodes from the current context that match the query.
removeNext Removes the next node that would be returned by peekNode or nextNode.
reset Resets the position of the list to its initial state.

Events

None.

See Also

XMLDOMSelection Object