Thanks every one. For some reason it didn't work via Nokogiri, when I read the XML from an URL and I had to switch to XMLSimple. I have used Nokogiri before with no issues.
xml_data = Net::HTTP.get_response(URI.parse(url)).body
data = XmlSimple.xml_in(xml_data)
data["categories"][0].each do |c|
standings_array.push(c)
end