-
Notifications
You must be signed in to change notification settings - Fork 0
/
weathermap.dtd
76 lines (69 loc) · 2.06 KB
/
weathermap.dtd
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version='1.0' encoding='ISO-8859-1' ?>
<!ELEMENT weathermap (global, scales, nodes, links, comments?, objects?, images?)>
<!ELEMENT global (scales_position, title, size)>
<!ELEMENT title (#PCDATA)>
<!ATTLIST title
x NMTOKEN #REQUIRED
y NMTOKEN #REQUIRED>
<!ELEMENT scales_position EMPTY>
<!ATTLIST scales_position
x NMTOKEN #REQUIRED
y NMTOKEN #REQUIRED>
<!ELEMENT position EMPTY>
<!ATTLIST position
x NMTOKEN #REQUIRED
y NMTOKEN #REQUIRED>
<!ELEMENT size EMPTY>
<!ATTLIST size
x NMTOKEN #REQUIRED
y NMTOKEN #REQUIRED>
<!ELEMENT scales (scale+)>
<!ELEMENT scale (low, high, color)>
<!ELEMENT low (#PCDATA)>
<!ELEMENT high (#PCDATA)>
<!ELEMENT color EMPTY>
<!ATTLIST color
red NMTOKEN #REQUIRED
green NMTOKEN #REQUIRED
blue NMTOKEN #REQUIRED>
<!ELEMENT nodes (node+)>
<!ELEMENT node (position, label)>
<!ATTLIST node name ID #REQUIRED>
<!ELEMENT label (#PCDATA)>
<!ATTLIST label fontsize CDATA #IMPLIED>
<!ELEMENT links (link+)>
<!ELEMENT link (members, target?, targetin?, targetout?, bandwidth?, bandwidthin?, bandwidthout?, width?)>
<!ATTLIST link
name ID #REQUIRED
type (mrtg | rrd) #REQUIRED>
<!ELEMENT members (member+)>
<!ELEMENT member (#PCDATA)>
<!ELEMENT target EMPTY>
<!ATTLIST target
coef CDATA #IMPLIED
href CDATA #REQUIRED>
<!ELEMENT targetin EMPTY>
<!ATTLIST targetin
coef CDATA #IMPLIED
href CDATA #REQUIRED>
<!ELEMENT targetout EMPTY>
<!ATTLIST targetout
coef CDATA #IMPLIED
href CDATA #REQUIRED>
<!ELEMENT bandwidth (#PCDATA)>
<!ELEMENT bandwidthin (#PCDATA)>
<!ELEMENT bandwidthout (#PCDATA)>
<!ELEMENT width (#PCDATA)>
<!ELEMENT comments (comment*)>
<!ELEMENT comment (text, position)>
<!ATTLIST comment name ID #REQUIRED>
<!ELEMENT text (#PCDATA)>
<!ELEMENT objects (object*)>
<!ELEMENT object (label, position, size)>
<!ATTLIST object name ID #REQUIRED>
<!ELEMENT images (image*)>
<!ELEMENT image (position, size)>
<!ATTLIST image
name ID #REQUIRED
href CDATA #REQUIRED
type (png | jpg) #REQUIRED>