------art_9682_18430768.1151589462638
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

My co-workers and I recently converted a bunch of rexml code to libxml. The
speed increase was dramatic ( 100-1000 times faster ). We have not run into
any stability issues. We use libxml to read, search, delete/change nodes and
values, and write out new files, all with no issues. What kind of issues are
you hitting while using libxml?

Mark


On 6/29/06, Alex Young <alex / blackkettle.org> wrote:
>
> Pedro Cộte-Real wrote:
> > On 6/29/06, Alex Young <alex / blackkettle.org> wrote:
> >
> >> Pedro Cộte-Real wrote:
> >> > What do you usually use to work with XML in ruby. REXML seems to be
> >> > too slow and libxml too buggy. Any other option I should try?
> >> Unless you've got a specific reason not to (as in, what is it you're
> >> actually trying to acheive?), check out REXML's StreamParser.  More
> than
> >> fast enough for my needs, but I'm probably not a representative sample.
> >
> >
> > I am using the stream parser. And although that seems a little slow
> > it's ok. What I'm stuck with being too slow is the XPath support. If I
> > can't get libxml to work I guess I'll have to end up creating a small
> > ruby extension just to wrap the C libxml xpath support. My needs are
> > very simple so this should be easy, but I was hoping there was another
> > way.
> Oh, I see...  Sorry, I can't help you there...
>
> --
> Alex
>
>


-- 
Mark Van Holstyn
mvette13 / gmail.com
http://lotswholetime.com

------art_9682_18430768.1151589462638--