From: Henry Maddocks Date: 2006-12-18T15:16:58+09:00 Subject: Re: hpricot problem On 17/12/2006, at 11:51 PM, Peter Szinek wrote: >> Given this information, >> I will show you how to extract the desired content with a few >> lines of >> Ruby, no fuss, no undue complexity, no Hpricot. > Why should it be complicated? What fuss? Who needs few lines? > With the > current version of hpricot this is exactly one line: > > doc//p[img]//text() Maybe I'm going mad but there is no img tag in the sample code. I am not interested in extracting anything. I know how to do that. I am trying to highlight a problem I discovered in hpricot.