2 <!-- File ID: 7e233ba2-10a4-11de-8008-000475e441b9 -->
5 Unofficial Document Type Definition for GPX ver. 1.1
6 Created by Øyvind A. Holm - sunny@sunbase.org
7 License: GNU General Public License version 3 or later
9 FIXME: ptseg and pt elements are not included, don’t know where to put
10 them. Didn’t find any example GPX files which uses it.
13 <!ELEMENT gpx (metadata?,wpt*,rte*,trk*,extensions?)
>
15 version CDATA #FIXED
"1.1"
16 creator CDATA #REQUIRED
17 xsi:schemaLocation CDATA #IMPLIED
19 xmlns:xsi CDATA #IMPLIED
22 <!ELEMENT metadata (name?,desc?,author?,copyright?,link*,time?,keywords?,
25 <!ELEMENT wpt (ele?,time?,magvar?,geoidheight?,name?,cmt?,desc?,src?,
26 link*,sym?,type?,fix?,sat?,hdop?,vdop?,pdop?,ageofdgpsdata?,dgpsid?,
33 <!ELEMENT rte (name?,cmt?,desc?,src?,link*,number?,type?,extensions?,rtept*)
>
34 <!ELEMENT trk (name?,cmt?,desc?,src?,link*,number?,type?,extensions?,trkseg*)
>
35 <!ELEMENT extensions ANY
>
36 <!ELEMENT name (#PCDATA)
>
37 <!ELEMENT desc (#PCDATA)
>
38 <!ELEMENT author (name?,email?,link?)
>
39 <!ELEMENT email EMPTY
>
42 domain CDATA #REQUIRED
44 <!ELEMENT link (text?,type?)
>
48 <!ELEMENT text (#PCDATA)
>
49 <!ELEMENT type (#PCDATA)
>
50 <!ELEMENT copyright (year?,license?)
>
52 author CDATA #REQUIRED
54 <!ELEMENT year (#PCDATA)
>
55 <!ELEMENT license (#PCDATA)
>
56 <!ELEMENT time (#PCDATA)
>
57 <!ELEMENT keywords (#PCDATA)
>
58 <!ELEMENT bounds EMPTY
>
60 minlat CDATA #REQUIRED
61 minlon CDATA #REQUIRED
62 maxlat CDATA #REQUIRED
63 maxlon CDATA #REQUIRED
65 <!ELEMENT ele (#PCDATA)
>
66 <!ELEMENT magvar (#PCDATA)
>
67 <!ELEMENT geoidheight (#PCDATA)
>
68 <!ELEMENT cmt (#PCDATA)
>
69 <!ELEMENT src (#PCDATA)
>
70 <!ELEMENT sym (#PCDATA)
>
71 <!ELEMENT fix (#PCDATA)
> <!-- none|2d|3d|dgps|pps -->
72 <!ELEMENT sat (#PCDATA)
>
73 <!ELEMENT hdop (#PCDATA)
>
74 <!ELEMENT vdop (#PCDATA)
>
75 <!ELEMENT pdop (#PCDATA)
>
76 <!ELEMENT ageofdgpsdata (#PCDATA)
>
77 <!ELEMENT dgpsid (#PCDATA)
>
78 <!ELEMENT number (#PCDATA)
>
79 <!ELEMENT rtept (ele?,time?,magvar?,geoidheight?,name?,cmt?,desc?,src?,
80 link*,sym?,type?,fix?,sat?,hdop?,vdop?,pdop?,ageofdgpsdata?,dgpsid?,
87 <!ELEMENT trkseg (trkpt*,extensions?)
>
88 <!ELEMENT trkpt (ele?,time?,magvar?,geoidheight?,name?,cmt?,desc?,src?,
89 link*,sym?,type?,fix?,sat?,hdop?,vdop?,pdop?,ageofdgpsdata?,dgpsid?,