Represents the list of nodes that match a given XSL Pattern or XPath expression.
A new XMLDOMSelection object is created via the selectNodes method on XMLDOMDocument2. For example, in JScript you can simply call the XMLDOMSelection methods on the object returned from selectNodes as follows:
xmldoc.setProperty("SelectionLanguage", "XPath") var selection = xmldoc.selectNodes("//Customer[Zip = 98072]"); var expr = selection.expr; //This returns "//Customer[Zip = 98072]"
This object is an extension of the W3C DOM.
Properties, Methods, and Events