I''ve seen the use of Builders to *create* XML, but how can I consume an XML file in Ruby / Rails. Is there a simple example around somewhere? Regards, Colin
REXML: http://www.germane-software.com/software/rexml/docs/tutorial.html XmlSimple: http://www.maik-schmidt.de/xml-simple.html Lucas Carlson http://tech.rufy.com/ On Apr 30, 2005, at 10:46 AM, Colin Ramsay wrote:> I''ve seen the use of Builders to *create* XML, but how can I > consume an XML file in Ruby / Rails. Is there a simple example > around somewhere? > > Regards, > Colin > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Lucas Carlson wrote:> REXML: http://www.germane-software.com/software/rexml/docs/tutorial.html > > XmlSimple: http://www.maik-schmidt.de/xml-simple.htmlSee also http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-talk/140556 for something slick. James -- http://www.ruby-doc.org http://www.rubyxml.com http://catapult.rubyforge.com http://orbjson.rubyforge.com http://ooo4r.rubyforge.com http://www.jamesbritt.com
Thanks chaps, spot on. James Britt wrote:> Lucas Carlson wrote: > >> REXML: http://www.germane-software.com/software/rexml/docs/tutorial.html >> >> XmlSimple: http://www.maik-schmidt.de/xml-simple.html > > > See also > > http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-talk/140556 > > for something slick. > > > James