My XML document is as follows (per SeeqPod API):
<?xml version='1.0' encoding='UTF-8' ?>
<playlist version="1" xmlns="http://xspf.org/ns/0/" start="0" end="0" total="26" prev="None" next="1">
<title></title>
<trackList>
<track>
<location>http://joniverse.com/resources/music/u2-one.mp3</location>
<title>One</title>
<creator>U2</creator>
<extension application="seeqpod_metadata">
<mp3_url_id>19646033</mp3_url_id>
<has_music_rex>True</has_music_rex>
<song_id>39445</song_id>
</extension>
</track>
</trackList>
</playlist>

I just cant seem to make an array of @songs from it and I have tried with this code but I get no success:
Code Ruby:
				xml = Net::HTTP.get(URI(url))
				songs = REXML::Document.new xml
				@songs = []
				songs.elements.each('playlist/trackList/track') do |s|
					h = []
					%w[location title creator].each do |e|
						h[e] = s.elements[e].text
					end
					@songs << h
				end

Does anyone know what I am doing wrong? I have been fussing with this for hours...