|I have a GPX-file form my gps. I want to delete sections of it. a part of it is:|
<wpt lat="55.54934616" lon="11.94559830">
I have tried to make a script in Perl to read the gpx-file line by line:
while ($line = <IndFil>)
-but of course, that's not enough.
How do I delete the code between <extensions> and </extensions> - and the word <extensions></extensions>?
I would like it in Peal or PHP.