From: Bryan Murphy Date: 2002-06-20T05:58:28+09:00 Subject: Re: REXML in C > > >> In all honesty, I really don't think you should be processing 300,000 >> line XML files with any DOM-like XML interface. > > > > True. > > But REXML != tree API only; it also offers a stream API: > http://www.germane-software.com/software/rexml_doc/ > http://www.germane-software.com/software/rexml_doc/classes/REXML/StreamListener.html > > > Tobi That my dear sir, is a very good point! However REXML's stream API doesn't handle Namespaces (at least not as far as I can tell). A Ruby implementation of SAX2 is available here: http://www.rubycolor.org/arc/rbsax-0.7.0pre0.tar.gz And I highly recommend it. It even has very nice and convenient interfaces for connecting to the other Ruby XML libraries! I didn't create it, so I can't say anything about it's development status but in my work with it I've experienced no major problems. Bryan