Results 1 to 2 of 2
Thread: xPaths problem
- 04-23-2008, 06:04 PM #1
Member
- Join Date
- Apr 2008
- Posts
- 1
- Rep Power
- 0
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
- 04-24-2008, 04:49 AM #2


LinkBack URL
About LinkBacks

Bookmarks