xpe.setStaticContext(sc);
XPathVariable thisVar = xpe.declareVariable("", contextVar);
XPathExpression xpath = xpe.createExpression(path);
NodeInfo contextItem =
//config.buildDocument(new DOMSource(contextNode));
config.unravel(new DOMSource(contextNode));
XPathDynamicContext dc = xpath.createDynamicContext(null);
dc.setContextItem(contextItem);
dc.setVariable(thisVar, contextItem);
List saxonNodes = xpath.evaluate(dc);