From: Emmanuel Surleau Date: 2008-09-13T22:51:58+09:00 Subject: Re: rexml alternatives ------=_Part_943_19921177.1221314333111 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline You can try libxml-ruby, I hear it's been rewritten and should be working pretty well now. Otherwise there's hpricot, while not supporting real XPATH, can get you pretty far. But libxml-ruby will be faster. On Sat, Sep 13, 2008 at 12:03 PM, Jan Luehr wrote: > Hello, > > I really like coding ruby or ruby on rails apps, but rexml often leads to > frustration. > - If I use xpath in watir-tests rexml takes plenty of time evaluating and > execution time jumps from seconds to minutes. > - Some rails apps I've written rely on rexml and xpath as well. I > encountered strange xpath-results that mysteriously went away when > upgrading ruby from 1.8.5 to 1.8.6. > By that, rails apps using xpath developed on my laptop (Debian Lenny, Ruby > 1.8.6) might fail in production on servers running debian etch. > > Since Ruby does support C/C++ bindings, I wonder if anyone have tried to > use > xerces instead (Googling for ruby-xerces shows a few posts but nothing > serious) or if there are any other alternatives to rexml. > > Do you know any? > Thanks in advance, > Keep smiling > yanosz > > ------=_Part_943_19921177.1221314333111--