Thanks for this. unknown wrote: > On Tue, Aug 10, 2010 at 4:34 PM, Stuart Clarke > <stuart.clarke1986 / gmail.com> wrote: >> xmlData.elements.each("userdata/time"){ >> |e| puts "Time : " + e.attributes["time"] >> } > > Here's a quick example using REXML on the sample string you provided: -- Posted via http://www.ruby-forum.com/.