if city, region, country and coords are given. Stackoverflow offers to add coords as attributes to the location tag. So we should convert a location to:
<locations>
<location lon="11.6167" lat="48.05">
Taufkirchen, Bayern, Deutschland
</location>
</locations>
Currently we're simply convert a location into a String, which results in:
if city, region, country and coords are given. Stackoverflow offers to add coords as attributes to the location tag. So we should convert a location to: