I've tried running both JDOMDemo.java and XPathTest.java and get the same error message when selecting nodes
Code ====== XPath xpath = new XPath( "/foo/bar/baz" ); SAXBuilder builder = new SAXBuilder(); Document doc = builder.build( BASIC_XML ); System.out.print("Document built, selecting nodes...") ; List results = xpath.selectNodes( doc ); Error Message: ================ C:\dev>java XPathTest Document built, selecting nodes...Exception in thread "main" java.lang.NoSuchMet hodError at org.jaxen.jdom.DocumentNavigator.getChildAxisIterator(DocumentNavigat or.java:123) at org.jaxen.expr.iter.IterableChildAxis.iterator(IterableChildAxis.java :21) at org.jaxen.expr.DefaultStep.axisIterator(DefaultStep.java:78) at org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java: 127) at org.jaxen.expr.DefaultAbsoluteLocationPath.evaluate(DefaultAbsoluteLo cationPath.java:65) at org.jaxen.expr.DefaultXPath.asList(DefaultXPath.java:46) at org.jaxen.JaXPath.jaSelectNodes(JaXPath.java:35) at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:22) at XPathTest.testSelection(XPathTest.java:59) at XPathTest.main(XPathTest.java:92) It is reading the basic.xml file supplied as a sample. At first I thought it might be that I didn't have the correct jar files in the path. I originally had jaxen-full.jar,jaxen-core.jar,saxpath.jar, jaxen-jdom.jar and also xerces.jar,xalan.jar,crimson.jar along with others. I then switched and added "ALL" the jar files that came with the product but I STILL get the same error. Any help would be greatly apprecated! Thanks in advance! _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest