xml.instruct! xml.osm(OSM::API.new.xml_root_attributes) do |osm| osm << (render(:partial => "old_node", :collection => @elems) || "") end