- el1 = XML::Node.new 'gpx_file'
- el1['id'] = id.to_s
- el1['name'] = name.to_s
- el1['lat'] = latitude.to_s if inserted
- el1['lon'] = longitude.to_s if inserted
- el1['user'] = user.display_name
- el1['visibility'] = visibility
- el1['pending'] = (!inserted).to_s
- el1['timestamp'] = timestamp.xmlschema
-
- el2 = XML::Node.new 'description'
+ el1 = XML::Node.new "gpx_file"
+ el1["id"] = id.to_s
+ el1["name"] = name.to_s
+ el1["lat"] = latitude.to_s if inserted
+ el1["lon"] = longitude.to_s if inserted
+ el1["user"] = user.display_name
+ el1["visibility"] = visibility
+ el1["pending"] = (!inserted).to_s
+ el1["timestamp"] = timestamp.xmlschema
+
+ el2 = XML::Node.new "description"