From: Peter Szinek Date: 2006-12-13T22:11:53+09:00 Subject: Re: Hpricot html parsing Dhanasekaran Vivekanandhan wrote: > hi all, > I have the following html fragment > I want to get the inner html content inside the >

tag , not the between the

tag. > for example in the following example i want to get the result as > "this is fun". I dont want to get the result including "NO FUN". > how to do with Hpricot > > example html fragment: > ---------------------- > >

> this is fun > >

>

> NO FUN >

I did not quite get you. You want the text of the first

because it has an image? Or what is the exact criterion to accept/reject

's? Peter __ http://www.rubyrailways.com