I really like your script so I took it - rewrote it and now it outputs a gpx-file for my Garmin GPS :) if someone is interested in I have postet it on my wiki page http://wiki.openstreetmap.org/wiki/User:K4r573n thanks for showing me this possibilities :D Karsten