Quick tip.  Look at Nokogiri before investing much time in parsing with REXML.

http://nokogiri.rubyforge.org/nokogiri/

Besides being faster, the parsing syntax is nicer.  Here's some
example code for pulling apart Excel exported XML:

http://github.com/kete/kete/blob/master/lib/workers/excel_based_importer_worker.rb
# starting around line 26

You probably want to look for examples of use of the "at" and "xpath"
methods, too.

Cheers,
Walter

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to