+
+ def to_xml
+ doc = OSM::API.new.get_xml_doc
+ doc.root << to_xml_node()
+ return doc
+ end
+
+ 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)