Ticket #431: navit.dtd

File navit.dtd, 4.5 KB (added by akashihi, 11 years ago)
Line 
1<!ELEMENT config (plugins, debug*, navit)>
2<!ATTLIST config
3        xmlns:xi CDATA #REQUIRED
4        language CDATA #IMPLIED
5>
6<!ELEMENT plugins (plugin*)>
7<!ELEMENT plugin EMPTY>
8<!ATTLIST plugin
9        path CDATA #REQUIRED
10        active CDATA #IMPLIED
11        ondemand CDATA #IMPLIED
12>
13<!ELEMENT debug EMPTY>
14<!ATTLIST debug
15        name CDATA #REQUIRED
16        level CDATA "0"
17>
18<!ELEMENT log EMPTY>
19<!ATTLIST log
20        enabled (yes|no)  #IMPLIED
21        type (textfile_debug|gpx|nmea) #REQUIRED
22        data CDATA #REQUIRED
23        flush_size CDATA #IMPLIED
24        flush_time CDATA #IMPLIED
25        attr_types CDATA #IMPLIED
26>
27<!ELEMENT navit (graphics+, gui+,  log*, osd*, vehicle+, tracking?,vehicleprofile*,  route, navigation, speech,  mapset+, layout+)>
28<!ATTLIST navit
29        center CDATA #REQUIRED
30        zoom CDATA #REQUIRED
31        tracking CDATA #REQUIRED
32        orientation CDATA #REQUIRED
33        recent_dest CDATA #IMPLIED
34        drag_bitmap CDATA #IMPLIED
35>
36<!ELEMENT gui (#PCDATA)>
37<!ATTLIST gui
38        type (gtk|internal|win32) #REQUIRED
39        enabled (yes|no) #REQUIRED
40        menubar CDATA #IMPLIED
41        toolbar CDATA #IMPLIED
42        statusbar CDATA #IMPLIED
43        skin CDATA #IMPLIED
44        fullscreen CDATA #IMPLIED
45>
46<!ELEMENT graphics EMPTY>
47<!ATTLIST graphics
48        type (android|gd|gtk_drawing_area|gtk_gl_ext|null|opengl|qt_painter|sdl|win32) #REQUIRED
49>
50<!ELEMENT vehicle (log*,cursor*)>
51<!ATTLIST vehicle
52        name CDATA #REQUIRED
53        source CDATA #REQUIRED
54        enabled CDATA #IMPLIED
55        active CDATA #IMPLIED
56        follow CDATA #IMPLIED
57        update CDATA #IMPLIED
58        gpsd_query CDATA #IMPLIED
59        profilename CDATA #IMPLIED
60>
61<!ELEMENT vehicleprofile (roadprofile+)>
62<!ATTLIST vehicleprofile
63        name CDATA #REQUIRED
64        flags CDATA #REQUIRED
65        flags_forward_mask CDATA #REQUIRED
66        flags_reverse_mask CDATA #REQUIRED
67        maxspeed_handling CDATA #REQUIRED
68        route_mode CDATA #REQUIRED
69>
70<!ELEMENT coord EMPTY>
71<!ATTLIST coord
72        x CDATA #REQUIRED
73        y CDATA #REQUIRED
74>
75<!ELEMENT cursor (itemgra+)>
76<!ATTLIST cursor
77        w CDATA #REQUIRED
78        h CDATA #REQUIRED
79>
80<!ELEMENT tracking ANY>
81<!ATTLIST tracking
82        cdf_histsize CDATA #IMPLIED
83>
84<!ELEMENT route EMPTY>
85<!ATTLIST route
86        destination_distance CDATA #IMPLIED
87>
88<!ELEMENT roadprofile (announcement*)>
89<!ATTLIST roadprofile
90        item_types CDATA #REQUIRED
91        speed CDATA #REQUIRED
92        route_weight CDATA #REQUIRED
93>
94<!ELEMENT speed EMPTY>
95<!ATTLIST speed
96        type CDATA #REQUIRED
97        value CDATA #REQUIRED
98>
99<!ELEMENT navigation (announce+)>
100<!ELEMENT announce EMPTY>
101<!ATTLIST announce
102        type CDATA #REQUIRED
103        level0 CDATA #IMPLIED
104        level1 CDATA #IMPLIED
105        level2 CDATA #IMPLIED
106        unit CDATA #REQUIRED
107>
108<!ELEMENT announcement EMPTY>
109<!ATTLIST announcement
110        level CDATA #REQUIRED
111        distance_metric CDATA #REQUIRED
112>
113<!ELEMENT speech EMPTY>
114<!ATTLIST speech
115        type CDATA #REQUIRED
116        data CDATA #REQUIRED
117        cps CDATA #IMPLIED
118>
119<!ELEMENT mapset (map*, xi:include*)>
120<!ATTLIST mapset
121        enabled CDATA #IMPLIED
122>
123<!ELEMENT map EMPTY>
124<!ATTLIST map
125        type CDATA #REQUIRED
126        enabled CDATA #IMPLIED
127        active CDATA #IMPLIED
128        data CDATA #REQUIRED
129        debug CDATA #IMPLIED
130>
131<!ELEMENT layout (cursor*, layer*, xi:include*, layer*)>
132<!ATTLIST layout
133        name CDATA #REQUIRED
134        daylayout CDATA #IMPLIED
135        nightlayout CDATA #IMPLIED
136        color CDATA #IMPLIED
137        font CDATA #IMPLIED
138>
139<!ELEMENT layer (itemgra*)>
140<!ATTLIST layer
141        enabled CDATA #IMPLIED
142        name CDATA #IMPLIED
143        details CDATA #IMPLIED
144>
145<!ELEMENT osd EMPTY>
146<!ATTLIST osd
147        enabled (yes|no) #IMPLIED
148        type (compass|navigation_next_turn|button|toggle_announcer|speed_warner|text|gps_status|volume|eta|navigation_distance_to_target|navigation_distance_to_next|navigation) #REQUIRED
149        x CDATA #IMPLIED
150        y CDATA #IMPLIED
151        w CDATA #IMPLIED
152        h CDATA #IMPLIED
153        align CDATA #IMPLIED
154        src CDATA #IMPLIED
155        command CDATA #IMPLIED
156        font_size CDATA #IMPLIED
157        background_color CDATA #IMPLIED
158        label CDATA #IMPLIED
159        icon_src CDATA #IMPLIED
160>
161<!ELEMENT itemgra (polygon | polyline | text | circle | icon | image | arrows)*>
162<!ATTLIST itemgra
163        item_types CDATA #IMPLIED
164        order CDATA #IMPLIED
165        speed_range CDATA #IMPLIED
166>
167<!ELEMENT polygon (coord*)>
168<!ATTLIST polygon
169        color CDATA #REQUIRED
170>
171<!ELEMENT polyline (coord*)>
172<!ATTLIST polyline
173        color CDATA #REQUIRED
174        width CDATA #IMPLIED
175        dash CDATA #IMPLIED
176        offset CDATA #IMPLIED
177>
178<!ELEMENT text EMPTY>
179<!ATTLIST text
180        text_size CDATA #REQUIRED
181        color CDATA #IMPLIED
182>
183<!ELEMENT circle (coord*)>
184<!ATTLIST circle
185        color CDATA #REQUIRED
186        radius CDATA #REQUIRED
187        width CDATA #IMPLIED
188        text_size CDATA #IMPLIED
189>
190<!ELEMENT icon EMPTY>
191<!ATTLIST icon
192        src CDATA #REQUIRED
193        w CDATA #IMPLIED
194        h CDATA #IMPLIED
195>
196<!ELEMENT arrows EMPTY>
197<!ATTLIST arrows
198        color CDATA #REQUIRED
199        width CDATA #IMPLIED
200>
201<!ELEMENT image EMPTY>
202<!ELEMENT xi:include EMPTY>
203<!ATTLIST xi:include
204        href CDATA #IMPLIED
205        xpointer CDATA #IMPLIED
206>