Hi,
I'm using
Java 6. Let's say I have a document with these nodes ...
I want to write an Xpath expression to select all the nodes (they may not necessarily be "p"'s) between the <h2> nodes with text descriptions "Description" and "Cost", as appear above. How do I do this?
I tried
but get the Java exception, "com.sun.org.apache.xpath.internal.XPathException: Can not convert #BOOLEAN to a NodeList!". - Dave