Does anyone have any suggestions for how to go about the task of finding a node set from an XPath, where the node set contains all nodes that the XPath expression depends on, regardless of return type? For example, if the expression was "count(/foo)", how does one go about getting the set of nodes return by location path "/foo"? Any suggestions would be appreciated.
Steve
