parsing xml to extract coordinates