[jdom-interest] XPath
Kevin Jones
kevinj at develop.com
Tue Apr 24 07:50:33 PDT 2001
Am I missing something in the XPath support in jdom-contrib? Using the
example (XPathDemo.java) as a template I can't do any 'root' searches, so
List servletNames = xpath.getMatches("servlet/servlet-name/text()");
works fine but
List servletNames =
xpath.getMatches("/web-app/servlet/servlet-name/text()");
doesn't.
I can't get absolute location paths to work with any document,
Kevin Jones
DevelopMentor
www.develop.com
More information about the jdom-interest
mailing list