1 xml.wpt("lon" => note.lon, "lat" => note.lat) do
 
   2   xml.time note.created_at.to_s(:iso8601)
 
   3   xml.name t("browse.note.title", :id => note.id)
 
   6     xml.cdata! render(:partial => "description", :object => note, :formats => [:html])
 
   9   xml.link("href" => browse_note_url(note, :only_path => false))
 
  13     xml.url note_url(note, :format => params[:format])
 
  16       xml.reopen_url reopen_note_url(note, :format => params[:format])
 
  18       xml.comment_url comment_note_url(note, :format => params[:format])
 
  19       xml.close_url close_note_url(note, :format => params[:format])
 
  22     xml.date_created note.created_at
 
  23     xml.status note.status
 
  25     xml.date_closed note.closed_at if note.closed?