This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am trying to get the results from an xpath excpression but the problem is i do not know how to get it in a nodeset , nodelist or even a normal list the only thing that is working is a String , so i get only one output
The messages tell you that. You need to import the NodeSet and XpathConstants classes from whatever packages they are in.
I don't see them in the API documentation for Java 1.4, which is what I have on my computer here. Perhaps they are in Java 5, which I don't have. Check your Java 5 documentation. And if that is where they are, make sure you are using a Java 5 compiler.
Joined: Aug 02, 2005
i found that nodelist(instead of nodeset since nodeset is not in java 1.5) is an interface at java 1.5 but i am wondering how to use it ?? [ July 17, 2006: Message edited by: Maha Hassan ]