From: Alex Wayne Date: 2008-04-04T07:16:28+09:00 Subject: Re: ruby xml parser opinions? Andy Koch wrote: > I'm revisiting an app that uses libxml for xml work. Wondering if > anyone has opinions on what is the best available XML parser for Ruby? > > REXML seems to get trashed at every opportunity. Hpricot is getting > some good press, but is it better than libxml? Most posts I've seen > when someone chooses hpricot over libxml is because they are running > on Windows. > > Found this post "http://yomi.at/archives/19" which seems recent and > clearly shows libxml as the parser of choice when speed is the primary > consideration. > > Any thoughts? Hpricot is awesome, but if I need to have anything that parses namespaces, I use REXML. I don't like REXML at all, but it handles namespaces well enough. Hpricot is so easy to use you have ever used CSS that its hard not to recommend. -- Posted via http://www.ruby-forum.com/.