public int isNodeInclude(Node currentNode) {
XObject includeInResult;
try {
includeInResult = xPathFuncHereAPI.eval(currentNode,
xpathnode, str,prefixResolver);
if (includeInResult.bool())
return 1;
return 0;
} catch (TransformerException e) {
Object[] eArgs = {currentNode};
throw new XMLSecurityRuntimeException