Friday, July 12, 2002 03:59 AM
Look at xerces, it comes with the org.apache.xpath package which contains the XPathAPI class. The class contains a set of static helped methods for using XPath expressions. In particular, you'll see that there are a set of selectXXX methods.
Alternatively, you may also look at JDOM or DOM4J as alternative APIs for manipulating XML documents. JAXEN is a free XPATH implementation that you can also look at.