I have an XML file with this format (there could be some leading spaces):
<Latitude>23.1138</Latitude>
<Longitude>8.2898</Longitude>
...
<Latitude>19.6247</Latitude>
<Longitude>-7.3267</Longitude>
...
<Latitude>49.4141</Latitude>
<Longitude>15.374</Longitude>
Using Vim, I would like to convert each line to Cesium's KML format like this:
<Point><coordinates>15.374,49.4141</coordinates></Point>
It is important to note KML puts the longitude first (contrary to every other standard). Any help would be appreciated.
<>
tags? I didn't account for that.