From: Wes Gamble Date: 2006-11-23T00:28:30+09:00 Subject: Re: Hpricot/Rubyful Soup comparison Thanks for all of the comments. I was pretty sure that Hpricot was faster since it is partially written in C, but it's nice to hear a resounding "YES" on that topic. My concern about "preserving original markup" has to do with this application I'm writing, which grabs a page and then tries to display it. When RubyfulSoup would encounter bad HTML, it could parse it ok, but it always attempts to fix it when I went to write the parse tree. Which can cause problems when you try to redisplay the HTML. Some malformed HTML is handled fine by browsers, so I'd like to preserve the original HTML regardless of its quality. If Hpricot will not only parse my HTML quickly, but also not fix the HTML on the way out (dumping the parse tree), that would be ideal. Again, thanks for all of the discussion - it's quite helpful. Wes -- Posted via http://www.ruby-forum.com/.