From: Rob Biedenharn Date: 2009-05-26T07:23:22+09:00 Subject: Re: Hpricot wont parse elements via XPath On May 25, 2009, at 5:39 PM, No Uu wrote: > In this code (http://pastebin.com/m36de2949) unread_links will not > read > the elements specified in line 12. I double-checked the XPath with > the XPather Firefox extension, and it is correct. > > Is this some obscure difficulty with Hpricot? I seem to be doing > everything correctly. > -- It looks like those tags are first children of the so there is no preceding-sibling for them. Perhaps you need to post what you expect to read in addition to the xpath that you're trying to use to find it. -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com