Title: Message
Hi David
 
This is an old email but I'm just checking this got resolved. Do you still have this problem? If so have you an example XML doc and XPath expression that demonstrates the problem you're having?

James
----- Original Message -----
Sent: Wednesday, January 16, 2002 12:41 AM
Subject: [dom4j-user] Urgh, more xpath!

Why does this work:
 
            Node node = doc.selectSingleNode(globalExprString);
when this does not:
 
            XPath expr = DocumentHelper.createXPath(globalExprString);
            Node node = expr.selectSingleNode(doc);
???
 
Is there something in some docs or comments or web sites or faq's somewhere that I missed that explains how in general to do xpath with dom4j?

Reply via email to