XPath xpath = new XPath(str, null, prefixResolver, XPath.SELECT, null);
xpath.fixupVariables( varQNames, varQNames.size());
// Execute the XPath, and have it return the result
int ctxtNode = xpathSupport.getDTMHandleFromNode(contextNode);
// System.out.println("Context Node id ( after getDTMHandlerFromNode) => " + ctxtNode );
return xpath.execute(xpathSupport, ctxtNode, prefixResolver);
} catch (TransformerException ex) {
throw new JspTagException(
Resources.getMessage("XPATH_ERROR_EVALUATING_EXPR", str, ex.toString()), ex);
} catch (IllegalArgumentException ex) {
throw new JspTagException(