summaryrefslogtreecommitdiff
path: root/data/locations.dtd
blob: 2bac5f0e4513de52df69a3d4c23f0cea59ce3d39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!ELEMENT mateweather (region+) >
<!ATTLIST mateweather
  format CDATA #FIXED '1.0' >

<!ENTITY % name '(_name|name+)' >

<!ELEMENT region (%name;, country+) >
<!ELEMENT country (%name;, iso-code, fips-code+, pref-lang?, timezones, tz-hint?, (location|state|city)*) >
<!ELEMENT state (%name;, fips-code+, tz-hint?, (location|city)*) >
<!ELEMENT city (%name;, coordinates?, zone?, radar?, location+) >
<!ELEMENT location (%name;, code, tz-hint?, zone?, radar?, coordinates?) >

<!ELEMENT timezones (timezone+) >
<!ELEMENT timezone (_name?, name*, obsoletes*) >
<!ATTLIST timezone
  id CDATA #REQUIRED >
<!ELEMENT obsoletes (#PCDATA) >

<!ELEMENT _name (#PCDATA) >
<!ATTLIST _name
  msgctxt CDATA #IMPLIED >
<!ELEMENT name (#PCDATA) >
<!ATTLIST name
  xml:lang CDATA #IMPLIED
  msgctxt CDATA #IMPLIED >
<!ELEMENT iso-code (#PCDATA) >
<!ELEMENT fips-code (#PCDATA) >
<!ELEMENT pref-lang (#PCDATA) >
<!ELEMENT tz-hint (#PCDATA) >
<!ELEMENT code (#PCDATA) >
<!ELEMENT zone (#PCDATA) >
<!ELEMENT radar (#PCDATA) >
<!ELEMENT coordinates (#PCDATA) >