.gpx might work, but how?
The how for me, is my GPS writes it out like that, like:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gpx xmlns="http://www.topografix.com/GPX/1/1"
xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3"
xmlns:gpxtrkx="http://www.garmin.com/xmlschemas/TrackStatsExtension/v1"
xmlns:wptx1="http://www.garmin.com/xmlschemas/WaypointExtension/v1"
xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" creator="GPSMAP 64s"
version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www8.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackStatsExtension/v1 http://www8.garmin.com/xmlschemas/TrackStatsExtension.xsd http://www.garmin.com/xmlschemas/WaypointExtension/v1 http://www8.garmin.com/xmlschemas/WaypointExtensionv1.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd">
<metadata>
<link href="http://www.garmin.com">
<text>Garmin International</text>
</link>
<time>2020-07-27T09:24:50Z</time>
</metadata>
<trk>
<name>2020-07-26 11:38:20 Day</name>
<extensions>
<gpxx:TrackExtension>
<gpxx:DisplayColor>Red</gpxx:DisplayColor>
</gpxx:TrackExtension>
</extensions>
<trkseg>
<trkpt lat="53.0974245630" lon="-1.5002002381">
<ele>245.63</ele>
<time>2020-07-26T10:38:20Z</time>
</trkpt>
<trkpt lat="53.0974645447" lon="-1.5003266372">
<ele>241.92</ele>
<time>2020-07-26T10:38:33Z</time>
</trkpt>
<trkpt lat="53.0974570848" lon="-1.5003373660">
<ele>238.82</ele>
<time>2020-07-26T10:38:35Z</time>
</trkpt>
<trkpt lat="53.0974551570" lon="-1.5003438201">
<ele>234.75</ele>
<time>2020-07-26T10:38:38Z</time>
</trkpt>
<trkpt lat="53.0974393990" lon="-1.5003442392">
<ele>231.27</ele>
<time>2020-07-26T10:38:41Z</time>
</trkpt>
...
From me walking around yesterday.
More specifically, on what the structure of the GPX format is, you can refer to the schema (http://www.topografix.com/GPX/1/1/gpx.xsd).