# File lib/flickr/base.rb, line 644
        def from_xml(xml,photo=nil)
                att = xml.attributes
                note = Flickr::Note.new(att['x'].to_i,att['y'].to_i,
                        att['w'].to_i,att['h'].to_i,xml.text,
                        photo && photo.flickr)
                note.photo = photo
                note.id = att['id']
                note.author_id = att['author'] if att['author']
        end