public selectNodes(expression as String, contextNode as Node, resolver as XPathNSResolver = null) as NodeList throws XPathException, DOMException:
Evaluates an XPath expression and returns the matching nodes as a DOM NodeList.
This is a Klyn convenience method. The standard DOM XPath API still uses evaluate(...) and XPathResult.
Matching nodes in document order.
nodes = DOMXPathEvaluator().selectNodes("/Spies/Spy", document)
print(nodes.length)