XML Parser for Ruby
Question
Looking for something similar to xerces for parsing an xml file in ruby. I saw the native processor REXML and another called hpricot (though I can't find any documentation on hpricot, the links all appear to be dead). I'm looking for something that would parse an xml document via SAX2 in ruby.
TIA.
Solution
I've been successful with the Nokogiri SAX Parser
OTHER TIPS
Apart from those already mentioned, the other mainstream alternative is probably LibXML
There are two fast BLAST XML parsers for Ruby, which are easy to understand examples of iterative lazy parsing, using a C extension for the low-level XML parsing. Both are based on libxml2 and Nokogiri. Nokogiri because the performance rocks. See http://biogems.info to find the two parsers.