|
I've never given Dom4j much thought as there is an XML parser built in to Java. Now having a look I like it's API set much better than the standard DOM. It was parseText that threw me off. C# uses that.
Anyway as to your problem. I think it has to do with namespaces. The node you are looking for has a namespace but the XPath query does not have a namespace.
I think the solution is to add the namespace with a prefix to the document. Then use that prefix in your XPath query. Unfortunately I'm not sure how to do this.
|