+ def to_xml_node(changeset_cache = {}, user_display_name_cache = {})
+ el = XML::Node.new 'node'
+ el['id'] = self.node_id.to_s
+
+ add_metadata_to_xml_node(el, self, changeset_cache, user_display_name_cache)
+
+ if self.visible?
+ el['lat'] = self.lat.to_s
+ el['lon'] = self.lon.to_s
+ end
+
+ add_tags_to_xml_node(el, self.old_tags)