On Wednesday 16 Jun 2010 15:29:33 Owen wrote: > > Hi I would like to parse GPX file (XML) and insert certain data items > > into a MySQL database. There are mulitude of XML modules which can be > > used. > > > > These modules all build a hash from the data. Is this done because it > > is > > easy to find the the data simply using the key? > > > > I don't mind writing my own parser although this seems to be > > reinventing > > the wheel but some like XML::Parser are very general purpose and > > require > > a huge learning curve. > > > > Any ideas or suggestions would be helpful. > > Thanks, > > > > Robert Key > > Have a look at http://search.cpan.org/~andya/Geo-Gpx-0.26/lib/Geo/Gpx.pm
If that doesn't work for you, I've concentrated the good advice here: http://perl-begin.org/uses/xml/ Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Interview with Ben Collins-Sussman - http://shlom.in/sussman God considered inflicting XSLT as the tenth plague of Egypt, but then decided against it because he thought it would be too evil. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/