The following tables show the properties, methods, and events.
In C++, this interface inherits from IXMLDOMNodeList.
The methods and properties in this table are an extension to the World Wide Web Consortium (W3C) DOM.
Properties
| context | Gets the node (subtree) that is applied to the selection. |
| expr | Gets or sets the XML Path Language (XPath) expression string. Read/write. |
| length | Indicates the number of items in a collection. Read-only. |
Methods
| clone | Clones a copy of the current IXMLDOMSelection, with the same position and context. |
| getProperty | Returns a property. |
| item | Allows random access to individual nodes within a collection. This method has no effect on the current position. |
| matches | Checks if the node that is passed is contained in the current collection. |
| nextNode | Returns the next node in the collection. |
| peekNode | Gets the next node that nextNode will return without advancing the line position. |
| removeAll | Removes all the nodes from the collection described by the IXMLDOMSelection. |
| removeNext | Removes the next node. |
| reset | Resets the iterator. |
Events
None.