summaryrefslogtreecommitdiff
path: root/data/locations.dtd
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 21:42:39 -0300
committerPerberos <[email protected]>2011-12-01 21:42:39 -0300
commitfe8aea1c3b5348347633da18a02b0bffd3b266a1 (patch)
tree9881bf77df7572844707cc7c50bd8ca6b5a97076 /data/locations.dtd
downloadlibmateweather-fe8aea1c3b5348347633da18a02b0bffd3b266a1.tar.bz2
libmateweather-fe8aea1c3b5348347633da18a02b0bffd3b266a1.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'data/locations.dtd')
-rw-r--r--data/locations.dtd33
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) >