if (!XalanXPathAPI.isInstalled()) {
xpathAPIInstance = new JDKXPathAPI();
}
NodeList subtreeRoots =
xpathAPIInstance.selectNodeList(
inputDoc,
xpathContainer.getXPathFilterTextNode(),
str,
xpathContainer.getElement());
if (xpathContainer.isIntersect()) {