j2se 1.5 and xpath evaluation
"Raphael A. Bauer" <[email protected]> Wed, 8 Dec 2004 15:33:59 +0100
| Newsgroups | gmane.comp.java.sun.xml.general |
|---|---|
| Message-ID | <[email protected]> |
Hi list, I am just trying to use the j2se 1.5 standard implementation of xpath, and something like "give me all NodeSets given a certain xpath expression" doesn't work. --snip-- NodeSet nstest = (NodeSet) xpath.evaluate(expression, document, XPathConstants.NODESET); --snap-- whereas something like --snip-- Node ntest = (NodeSet) xpath.evaluate(expression, document, XPathConstants.NODE); --snap-- works fine, but only delivers the first node found - I need of course all corresponding nodes. some clues? or hints where to find useful information (eg tutorials, howtos etc about the j2se *1.5* things?) Many thanks! Raphael ----------------------------------------------------- xml-interest: A list for discussing XML technologies in the Java Platform. To post, mailto:[email protected] Archives at: http://archives.java.sun.com/xml-interest.html To unsubscribe, mailto:[email protected] the following message; signoff xml-interest.