From: Mark Van Holstyn Date: 2006-06-29T22:57:47+09:00 Subject: Re: XML in ruby ------=_Part_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 an= d values, and write out new files, all with no issues. What kind of issues ar= e you hitting while using libxml? Mark On 6/29/06, Alex Young wrote: > > Pedro C=F4rte-Real wrote: > > On 6/29/06, Alex Young wrote: > > > >> Pedro C=F4rte-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 > > --=20 Mark Van Holstyn mvette13@gmail.com http://lotswholetime.com ------=_Part_9682_18430768.1151589462638--