From: Phlip Date: 2007-10-30T03:53:25+09:00 Subject: Re: HTML parser Hpricot? and how to get all text SpringFlowers AutumnMoon wrote: > Would a good HTML parser be Hpricot? > It's extremely good; try it and see! > I wonder if anyone knows an easy > way for it to get all text of an HTML file? (removing all formatting > tags). > .each_element( './/text()' ){}.join() might do it. -- Phlip