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:
It is important to note KML puts the longitude first (contrary to every other standard). Any help would be appreciated.