Just a little program to excercise (some of ) the xmlDOM classes.
Transforms the XML result of a google maps directions query such as:
http://maps.googleapis.com/maps/api/directionsxml?origin=Uithoorn,NL&destination=Nieuw+Vennep,NL&mode=bicycling
into a GPX file, that can be downloaded/used on smartphones/tablets with apps such as Viewranger, OSMAnd+ and MyTrails.
Parameters
xmlFile - the name of the xml-file to proces
Returns
gpxStream - The GPX file to STDOUT (,which can be redirected to a file of course).
Called by
Definition at line
12 of
tryxmldom.rex