1 xml.wpt("lon" => note.lon, "lat" => note.lat) do
 
   3     xml.cdata! render(:partial => "description", :object => note, :formats => [ :html ])
 
   7     if note.status = "open"
 
  14     xml.url note_url(note, :format => params[:format])
 
  15     xml.comment_url comment_note_url(note, :format => params[:format])
 
  16     xml.close_url close_note_url(note, :format => params[:format])