Thread
:
Suggest a text editor for xml files that supports wildcard find and replace
View Single Post
Fionn
2009-09-12 , 12:43
Posts: 178 | Thanked: 53 times | Joined on Jul 2007 @ Ireland
#
1
The title pretty much says it all.
I'm trying to import gpx maps into maemo mapper using a combination of plotting routes on the likes of
Gmap Pedometer
and
Bike Route Toaster
and then using
GMapToGPX
to convert the results into gpx files.
I then edit the resulting gpx file to rename element names to more maemo-mapper friendly element names.
So <rte> becomes <trk> and <rtept> becomes <trkpt> using a simple find and replace in any text editor.
Unwanted <ele>0</ele> nodes are stripped out again using a find and replace.
However I'm left with a load of <name> Turn # </name> nodes where # is a number starting with 1 and goes on sequentially.
If there's a lot of turns it's painful to delete them manually.
Hence my requirement for a text editor that supports wildcard find and replace.
Quote & Reply
|
Fionn
View Public Profile
Send a private message to Fionn
Find all posts by Fionn