|
xPaths problem
Hi all,
I'm using xPath in order to retrieve data from my parsed DOM tree.
One the the tags in my xml contains colon: <media:image>.
It seems that when I try to get the data after the evaluate function - this doesn't succeed.
Meaning, this won't succeed using xPath (returns null) : XPathExpression expr = xpath.compile("/service/screen/media:image");
It works fine with tags that do not contain colon.
Is there a way to solve this?
Thanks in advance,
AMR
|