Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Thanks, that worked. I get Value="cachens.corbis.com/CorbisImage/thumb/15/53/42/15534232/…" Is there any way to remove the Value= part using the XPath evaluation? Commented Aug 10, 2011 at 21:02
  • ahhh, got it System.out.println(list.item(i).getTextContent()); Commented Aug 10, 2011 at 21:05
  • @c12: Sure, you could do that with String#replace or String#replaceAll if you know that it will not be represent in the body of the String. -- never mind, your way is better! Commented Aug 10, 2011 at 21:07