The original question was asked some time ago, but I found a simpler solution than using Nokogiri and searching for specific names in the XML.
Nori.parse(your_xml)
will parse the XML into a hash and the keys will have the same names as your XML items.