From: <sc...@us...> - 2005-06-09 20:45:43
|
maybe a stupid question :-) I want to read a xml version 1.0 file and export some data to a plain text file. which package have I to use to parse xml files? regards, alex for example: <?xml version="1.0" encoding="utf-8"?> <gpx xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" creator="Groundspeak Pocket Query" xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd http://www.groundspeak.com/cache/1/0 http://www.groundspeak.com/cache/1/0/cache.xsd" xmlns="http://www.topografix.com/GPX/1/0"> <desc>Geocache file generated by Groundspeak</desc> ... <bounds minlat="51.809883" minlon="-8.299667" maxlat="52.260483" maxlon="-6.62435" /> <wpt lat="51.809883" lon="-8.299667"> <time>2005-04-02T00:00:00.0000000-08:00</time> <name>GCNFYY</name> ... <sym>Geocache</sym> <type>Geocache|Traditional Cache</type> <groundspeak:cache id="229834" available="True" archived="False" xmlns:groundspeak="http://www.groundspeak.com/cache/1/0"> <groundspeak:name>End of the line</groundspeak:name> ... </wpt> <wpt lat="52.112183" lon="-6.62435"> <time>2004-06-13T00:00:00.0000000-07:00</time> <name>GCJQ71</name> ... |