views:

375

answers:

2

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.

+4  A: 

I've been successful with the Nokogiri SAX Parser

Rob Di Marco
Nokogiri really is the best thing out there. It's nice and clean, without too much magic.
Skade
A: 

Apart from those already mentioned, the other mainstream alternative is probably LibXML

Mike Woodhouse