Results 1 to 2 of 2
Thread: xPaths problem
- 04-23-2008, 07:04 PM #1Member
- Join Date
- Apr 2008
- Rep Power
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,
- 04-24-2008, 05:49 AM #2dont worry newbie, we got you covered.