I would like to extract data from a GPX file in Node.js. (highest altitude, arrival/departure times, etc.). I have looked around but there is not much information and I don't know what to do. I would appreciate it if you could tell me what to do. I am Japanese, so I apologize if my grammar is not correct. Here is a GPX file.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<gpx version="1.1" creator="GPS Visualizer https://www.gpsvisualizer.com/" xmlns="http://www.topografix.com/GPX/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">
<trk>
<name>2021-10-03-XNA-NMQ-01</name>
<desc>2021-10-03</desc>
<trkseg>
<trkpt lat="35.5773833" lon="137.41065">
<ele>1024.0</ele>
<time>2021-10-03T01:37:22Z</time>
</trkpt>
<trkpt lat="35.5773833" lon="137.41065">
<ele>1024.0</ele>
<time>2021-10-03T01:37:23Z</time>
</trkpt>
<trkpt lat="35.5773833" lon="137.41065">
<ele>1024.0</ele>
<time>2021-10-03T01:37:24Z</time>
</trkpt>
<trkpt lat="35.5773833" lon="137.41065">
<ele>1024.0</ele>
<time>2021-10-03T01:37:25Z</time>
</trkpt>
<trkpt lat="35.5773833" lon="137.41065">
<ele>1024.0</ele>
<time>2021-10-03T01:37:26Z</time>
</trkpt>
<trkpt lat="35.5774" lon="137.4106667">
<ele>1024.0</ele>
<time>2021-10-03T01:37:27Z</time>
</trkpt>
<trkpt lat="35.5774" lon="137.4106667">
<ele>1024.0</ele>
<time>2021-10-03T01:37:28Z</time>
</trkpt>
<trkpt lat="35.5774" lon="137.4106667">
<ele>1025.0</ele>
<time>2021-10-03T01:37:29Z</time>
</trkpt>
--------------------------------------------------------------------------omission
</trkseg>
</trk>
</gpx>