public static NodeList execute(String systemId, String expr, Node contextNode, int type)
throws TransformerException
{
SAXSourceLocator locator = new SAXSourceLocator();
locator.setSystemId(systemId);
PrefixResolver resolver = new PrefixResolverDefault(contextNode);
XPath xpath = new XPath(expr, locator, resolver, type);
return execute(xpath, contextNode);
}