xpe.setStaticContext(sc);
Variable thisVar = sc.declareVariable("this");
thisVar.setValue(rootNode);
XPathExpression exp = xpe.createExpression(_queryExp);
return exp.evaluate(rootNode);
}
catch (TransformerException e)
{
throw new RuntimeException(e);
}