reading XML file with xpath

Hi

I’m trying to read XML files (from my Garmon Connect account) to then load into QGIS to do come analysis of my routes

This is an image of the workspace i am running;


Loading the first file in and running through the process is successful and i am able to load the csv file into QGIS. Running the next 3 files (in a folder containing 10) results in the elevation and time elements from the xml file being blank, hence the joiner and the rest of the process fails as well.

viweing the xml files in the Microsoft XML reader doesn’t show any difference between the files i’ve tested. The 2 xpath images are;

and

The path i am using for the data is ‘/dns:gpx/dns:trk/dns:trkseg/dns:trkpt[24]/dns:ele’ & ‘/dns:gpx/dns:trk/dns:trkseg/dns:trkpt[327]/dns:time’ but truncated to //dns:ele or //dns:time (from a post on another webpage)

If anyone can give me some pointers as to where I may be going wrong.

thanks

Simon Hume