3 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
4 osm << (render(:partial => "bounds") || "")
5 osm << (render(:partial => "node", :collection => @nodes) || "")
6 osm << (render(:partial => "way", :collection => @ways) || "")
7 osm << (render(:partial => "relation", :collection => @relations) || "")