]> git.openstreetmap.org Git - rails.git/blob - app/views/api/notes/show.gpx.builder
JSON: move root_attributes to shared folder
[rails.git] / app / views / api / notes / show.gpx.builder
1 xml.instruct!
2
3 xml.gpx("version" => "1.1",
4         "creator" => "OpenStreetMap.org",
5         "xmlns" => "http://www.topografix.com/GPX/1/1",
6         "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
7         "xsi:schemaLocation" => "http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd") do
8   xml << render(@note)
9 end