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