From: Glenn Jackman Date: 2009-09-03T00:36:43+09:00 Subject: Re: Read and parse xml At 2009-09-02 10:28AM, "Rafael Roque" wrote: > Hi all, > I need to hit a URL that returns me a xml file,which I should read and > parse. > How could I do it,access the URL,retrieve the content of the response > and process it? Read about the standard library package "open-uri" to retrieve the URL contents, and "Nokogiri" (gem) or "Hpricot" (gem) or "REXML" (standard library package) to process the XML http://www.ruby-doc.org/stdlib/ http://nokogiri.rubyforge.org/nokogiri/ http://github.com/whymirror/hpricot/tree/master -- Glenn Jackman Write a wise saying and your name will live forever. -- Anonymous