From: Keith Fahlgren Date: 2007-04-04T22:34:43+09:00 Subject: Re: fast XML parser, other than libxml On 4/4/07, Peter Szinek wrote: > > libxml is a mature C library and quite fast, but is (by default) > > DOM-based (as is REXML). > > Sorry, I did not express myself clearly. I definitely need a DOM-based > approach, but REXML is a lot slower than libxml, and libxml can be a > PITA to install on some platforms/distros (e.g. it took quite some time > on my ubuntu box, because neither gem install nor apt-get wanted to > install the newest version which I needed). Yeah, you're right about libxml being a pain to install. If you hadn't cared about installability, I was going to suggest JRuby + (some Java parser).... > I guess XPath 1.0 would be completely enough (maybe even Hpricot's, with > a few additions) - I really don't need anything complicated. Yeah, sorry that I don't know of any others. JEG II wrote: > Sounds like it is time for FasterXML. :) Know of any good starting points? All the XPath 1.0 work I do is off of libxml and all of the XPath 2.0 is off of Saxon (Java), so I'm not sure what should be copied. Keith Keith