diff options
Diffstat (limited to 'data/locations.dtd')
-rw-r--r-- | data/locations.dtd | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/data/locations.dtd b/data/locations.dtd new file mode 100644 index 0000000..2bac5f0 --- /dev/null +++ b/data/locations.dtd @@ -0,0 +1,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) > |