Load GPX-File

Discussion in 'Questions (Windows Mobile)' started by mcflaytasche, May 11, 2007.

  1. mcflaytasche

    mcflaytasche Member Licensed User

    I want to load a gpx-file in to a table,
    but loadxml got a error when I do this.
    Is there a chance to do this.
    For example how the gpx-file is formated I link to one.
    The data record go from <wpt lat="xxxxxxxxxxx" lon="xxxxxxxxx"> to </wpt>.
    I hope some one have a idea!:sign0163:

  2. Erel

    Erel Administrator Staff Member Licensed User

    You will need to parse it yourself. It shouldn't be too hard.
    Maybe a TreeView will fit here better as the data is more complex than columns and rows.

    You can read the file one line after another using FileRead and parse the string.