// Execute the XPath, and have it return the result
XObject list = eval(contextNode, xpathnode, getStrFromNode(xpathnode), namespaceNode);
// Have the XObject return its result as a NodeSetDTM.
return list.nodeset();
}
/**
* Use an XPath string to select a nodelist.
* XPath namespace prefixes are resolved from the contextNode.