View Single Post
Old 01-11-2011, 02:10 PM   #23
Wolfgan
Avid reader
Wolfgan began at the beginning.
 
Wolfgan's Avatar
 
Posts: 19
Karma: 10
Join Date: Feb 2009
Location: Argentina
Device: Kindle 3 wifi
Quote:
Originally Posted by kovidgoyal View Post
your xpath expression is matching both the p and the span tags. Use

Code:
//h:p

instead of //*
Thanks a lot, that did the trick. I don't understand why it works as the span tag doesn't start with '#' , but the change certainly worked.
Thanks again, Wolf.
Wolfgan is offline   Reply With Quote