# File lib/flickr/base.rb, line 607 def self.from_xml(xml) a0 = xml.elements['prevphoto'].attributes a1 = xml.elements['nextphoto'].attributes return Flickr::Context.new( a0['id'],a0['secret'],a0['title'],a0['url'], a1['id'],a1['secret'],a1['title'],a1['url']) end