1 xml.wpt("lon" => note.lon, "lat" => note.lat) do
2 xml.time note.created_at.to_fs(:iso8601)
3 xml.name t("notes.show.title", :id => note.id)
6 xml.cdata! render(:partial => "description", :object => note, :formats => [:html])
9 xml.link("href" => note_url(note, :only_path => false))
13 xml.url api_note_url(note, :format => params[:format])
16 xml.reopen_url reopen_api_note_url(note, :format => params[:format])
18 xml.comment_url comment_api_note_url(note, :format => params[:format])
19 xml.close_url close_api_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?