gmail.com]
Sent: 22 October 2009 19:41
To: axis-user@ws.apache.org
Subject: Re: Problems using XPath in Axiom when namespaces are involved
Robert,
My guess is that the issue is related to the fact that you are trying
to define a default namespace for the XPath expression. Can you check
in the Jaxen
Robert,
My guess is that the issue is related to the fact that you are trying
to define a default namespace for the XPath expression. Can you check
in the Jaxen documentation if it says something about this?
Note that defining a default namespace for an XPath expression is not
a good idea anyway,
Hi -
I'm having problems getting my head round the use of XPath in Axiom,
especially when using namespaces.
With an XML snippet like this:
test
And a code snippet like this:
String xpathString = "/X/Y/Z";
AXIOMXPath xpathExpression = new AXIOMXPath(xpathString);
OMElement element =