Microsoft Interview Question

Write a program to parse GPS data in separate XML files and calculate the whole distance.