DominikW

Parsing *.gpx-files with JDOM/XPath

Discussion created by DominikW on May 17, 2011
Latest reply on May 19, 2011 by DominikW
Hi,

Currently I'm working on an addin which should import data from a .gpx-file. To achieve this I want to use JDOM with XPath, but when I get to parse the data, nothing ever happens. My addin still runs and eclipse doesn't show any kind of errors.

The relevant line of code is:

Element testing = (Element) XPath.selectSingleNode(gpxDoc, "/gpx/trk/@*");


Is there anybody, who has faced the same kind of problem?

Regards,
Dominik

Outcomes