I have this code in eclipse
NodeSet nodes = (NodeSet) xPath.evaluate(expression,inputSource, XPathConstants.NODESET);
and this gives me a compile-time error in NodeSet.
This is the material that I imported. Can you tell me why this is done?
import javax.xml.xpath.*; import org.xml.sax.InputSource; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.*;
java xml xpath nodesets
denniss
source share