If the URL where the .kml file will be located finally is provided, then the generated file does automatically redirect to its maps.google.com display!
If you want to try out first, just click on this example (the reason why suffix ".kml.xml" is needed will be described below) -- works for all BIG5 browsers:
What is gmap-pedometer.com?
After storing the routes are available under a simple URL like http://www.gmap-pedometer.com/?r=1156387.
How to extract a single route from gmap-pedometer.com?
The extracted GPX files (1156387.gpx for the previously mentioned route sample) is an XML file itself.
Why doing my own gpxs2kml.xsl converter and not use recommended "GPS Visualizer"?
There are many GPX format converers for GPS data, but all that I found to be capable of generating Google KML format did it 1-to-1.
I wanted to convert many GPX files into a single .kml file, and therefore created stylesheet gpxs2kml.xsl .
Why the .kml.xml suffix?
A KML file is fine to have for display in Google maps or Google earth.
It is an XML file, and therefore a xml-stylesheet processing instruction could do "something useful" when opened in a browser.
Some browsers do not process the processing instruction if the suffix is not ".xml", therefore I used ".kml.xml" to indicate what we have.
How to redirect to maps.google.com with a processing-instruction?
The URL to be redirected to is "http://maps.google.de/maps?q=yourURL".
The simple trick for redirection is to generate a small HTML page consisting of a "/html/head/meta" element with "refresh" http-equiv attribute.
<?xml-stylesheet type="text/xsl" href="redirect.gmap.xsl?http://stamm-wilbrandt.de/en/blog/gmap/interesting.kml.xml">
And this is stylesheet redirect.gmap.xsl: