Forum: Ruby on Rails XmlSimple vs XML::Simplel?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
2b891e820c238ded365d035771603f21?d=identicon&s=25 Bill Walton (Guest)
on 2006-02-04 17:28
(Received via mailing list)

I have a bunch (thousands) of XML files that I want to process.  I want
to extract a limited set of data from each and put that data, along with
the XML file's id, into MySQL so that users can do a structured search
for (and thus retrieve) specific XML files..  I've got some Perl scripts
I put together using XML::Simple to do the extraction of the data into
CSV files, which I then load into the DB.  User interaction will be
through a RoR app.  I'm considering replacing the Perl extraction
processing, incorporating it into the RoR app. (consideration driven by
maintenance considerations: two vs one).

I already know that XML::Simple is not going to give me all the
capabilities I need in the long run (the file structures / contents
vary), but it got me started.  I'm wondering how close a port Ruby's
XmlSimple is to Perl's XML::Simple (i.e., how much work is this going to
turn out to be?)  I'm also wondering how Ruby's support for processing
of complex XML compares to Perl's.  My next step in processing these
files is likely to require I jump into the deep end.

I'm really not looking for a seat at a flame session, just some
objective info / advice from folks who've "been there, done that."  I'd
appreciate any input / feedback from those with XML experience in both
Ruby and Perl.

This topic is locked and can not be replied to.