Read Garmin XML (TCX) files in Python...
cmalmqui
cmalmqui at gmail.com
Sun Mar 29 14:06:15 EDT 2009
Dear All,
Garmin uses XML as an exchange format for their Forerunner GPS series
(http://developer.garmin.com/schemas/tcx/v2/) and I have been thinking
about creating a python script that parses the Garmin XML file and
dumps the training information to a KML file as well as various graphs
(png or maybe SVG).
I am however struggling when I try to access the XML file in python. I
normally use python to create rather simple "top down" scripts (from a
Matlab background) and I have not been able to find a tutorial giving
me a gentle introduction to XML parsing with python. Right now I am
doubting whether XML + Python is achievable for a python novice.
I would thus be grateful if somebody could point me in the right
direction, either with some code suggestions or linking to some good
tutorials on the web, before I drop this idea and move on :-)
Cheers,
Christian
More information about the Python-list
mailing list