1 | <!-- *************************************************************************** -->
|
---|
2 | <!-- This is the DTD for the machine-readable OSM map feature list. -->
|
---|
3 | <!-- -->
|
---|
4 | <!-- see http://wiki.openstreetmap.org/wiki/Machine-readable_Map_Feature_list -->
|
---|
5 | <!-- *************************************************************************** -->
|
---|
6 |
|
---|
7 | <!ELEMENT map-feature-list ((tag-def|category|preset)*)>
|
---|
8 | <!ATTLIST map-feature-list version CDATA #REQUIRED>
|
---|
9 | <!ATTLIST map-feature-list release-id CDATA #REQUIRED>
|
---|
10 | <!ATTLIST map-feature-list release-date CDATA #REQUIRED>
|
---|
11 | <!ATTLIST map-feature-list xml:lang NMTOKEN "en">
|
---|
12 |
|
---|
13 | <!ELEMENT description (#PCDATA)>
|
---|
14 | <!ATTLIST description xml:lang NMTOKEN #IMPLIED>
|
---|
15 |
|
---|
16 | <!ELEMENT display-name (#PCDATA)>
|
---|
17 | <!ATTLIST display-name xml:lang NMTOKEN #IMPLIED>
|
---|
18 |
|
---|
19 | <!ELEMENT value-summary (#PCDATA)>
|
---|
20 | <!ATTLIST value-summary xml:lang NMTOKEN #IMPLIED>
|
---|
21 |
|
---|
22 |
|
---|
23 | <!ELEMENT tag-def ((display-name|description|value-def|category|value-summary)*)>
|
---|
24 | <!ATTLIST tag-def key CDATA #REQUIRED>
|
---|
25 | <!ATTLIST tag-def onnode (yes|no) "no">
|
---|
26 | <!ATTLIST tag-def onway (yes|no) "no">
|
---|
27 | <!ATTLIST tag-def onarea (yes|no) "no">
|
---|
28 | <!ATTLIST tag-def onrelation (yes|no) "no">
|
---|
29 | <!ATTLIST tag-def state (proposed |accepted | rejected | deprecated) "accepted">
|
---|
30 |
|
---|
31 |
|
---|
32 | <!ELEMENT value-def ((display-name|description)*)>
|
---|
33 | <!ATTLIST value-def value CDATA #REQUIRED>
|
---|
34 | <!ATTLIST value-def onnode (yes | no) "no">
|
---|
35 | <!ATTLIST value-def onway (yes | no) "no">
|
---|
36 | <!ATTLIST value-def onarea (yes | no) "no">
|
---|
37 | <!ATTLIST value-def onrelation (yes | no) "no">
|
---|
38 | <!ATTLIST value-def state (proposed | accepted | rejected | deprecated) "accepted">
|
---|
39 |
|
---|
40 |
|
---|
41 | <!ELEMENT category ((display-name|description)*)>
|
---|
42 | <!ATTLIST category name ID #IMPLIED>
|
---|
43 | <!ATTLIST category ref IDREF #IMPLIED>
|
---|
44 |
|
---|
45 |
|
---|
46 | <!ELEMENT implies EMPTY>
|
---|
47 | <!ATTLIST implies key CDATA #REQUIRED>
|
---|
48 | <!ATTLIST implies value CDATA #REQUIRED>
|
---|
49 |
|
---|
50 | <!ELEMENT requires EMPTY>
|
---|
51 | <!ATTLIST requires key CDATA #REQUIRED>
|
---|
52 |
|
---|
53 | <!ELEMENT suggests EMPTY>
|
---|
54 | <!ATTLIST suggests key CDATA #REQUIRED>
|
---|
55 |
|
---|
56 | <!ELEMENT preset ((implies|requires|suggests|display-name|description)*)>
|
---|
57 | <!ATTLIST preset name NMTOKEN #REQUIRED>
|
---|
58 |
|
---|
59 |
|
---|