IXMLDOMSelection
A version of this page is also available for
4/8/2010
Represents the list of nodes that match a given XSL Pattern or XML Path Language (XPath) expression.
Methods
The following table shows the methods for IXMLDOMSelection.
Method | Description |
---|---|
Produces an exact copy of the current XMLDOMSelection object. |
|
Looks up a property by name. |
|
Allows random access to individual nodes within a collection. This method has no effect on the current position. |
|
Checks whether the passed-in node is contained in the current collection. |
|
Returns the next node in a collection. |
|
Gets the next node that nextNode will return without advancing the line position. |
|
Removes all the nodes from the current context that match the query. |
|
Removes the next node that would be returned by peekNode or nextNode. |
|
Resets the position of the list to its initial state. |
Properties
The following table shows the properties for IXMLDOMSelection.
Property | Description |
---|---|
Specifies the node (subtree) to apply a selection. |
|
Gets or sets the XML Path Language (XPath) expression string. |
|
Indicates the number of items in a collection. |
Events
None
Remarks
IXMLDOMSelection is created through the selectNodes method on IXMLDOMDocument2. IXMLDOMSelection is an extension of the World Wide Web Consortium (W3C) Document Object Model (DOM).
This interface inherits all of the methods, properties, and events of IXMLDOMNodeList.
Setting | Version-independent | Version-dependent |
---|---|---|
ProgID |
Msxml2.DOMDocument, Msxml2.FreeThreadedDOMDocument |
Msxml2.DOMDocument.3.0, Msxml2.FreeThreadedDOMDocument.3.0 |
CLSID |
F6D90F11-9C73-11D3-B32E-00C04F990BB4 |
f5078f32-c551-11d3-89b9-0000f81fe221 |