for (int i = 0; i < noOfSteps; i++) {
Element xpathElement =XMLUtils.selectNode(
this._transformObject.getElement().getFirstChild(),
XPath2FilterContainer.XPathFilter2NS,
XPath2FilterContainer._TAG_XPATH2,i);
XPath2FilterContainer xpathContainer =
XPath2FilterContainer.newInstance(xpathElement,
input.getSourceURI());
if (xpathContainer.isIntersect()) {
_filterTypes.add(FIntersect);
} else if (xpathContainer.isSubtract()) {
_filterTypes.add(FSubtract);
} else if (xpathContainer.isUnion()) {
_filterTypes.add(FUnion);
} else {
_filterTypes.add(null);
}
NodeList subtreeRoots = xPathFuncHereAPI.selectNodeList(inputDoc,
xpathContainer.getXPathFilterTextNode(),
CachedXPathFuncHereAPI.getStrFromNode(xpathContainer.getXPathFilterTextNode()),
xpathContainer.getElement());
// _filterNodes.add(XMLUtils.convertNodelistToSet(subtreeRoots));
_filterNodes.add(subtreeRoots);
}