> [Scott.Moore at netDecide.com] > Subject: RE: XPathAPI help needed > I've tried what you suggested, but it won't compile because the > namespaceNode (3rd parameter) must be of type Node. For instance, > Node n = XPathAPI.selectSingleNode(currentNode, xpath, > new org.apache.xml.utils.PrefixResolverDefault(contextNode)); > doesn't compile. > What am I missing here?
Use the eval() method instead. Javadoc is at: http://xml.apache.org/xalan-j/apidocs/org/apache/xpath/XPathAPI.html -- PB
