/usr/share/thuban/Resources/XML/thuban.dtd is in thuban 1.2.2-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | <?xml version="1.0" encoding="UTF-8"?>
<!-- thuban.dtd
Copyright (C) 2001, 2003 by Intevation GmbH
Authors:
Jan-Oliver Wagner <jan@intevation.de>
This program is free software under the GPL (>=v2)
Read the file COPYING coming with Thuban for details.
This DTD covers .thuban files for Thuban versions up to 0.2 and most
of the .thuban files generated by development/CVS versions of Thuban
between 0.2 and 0.8.
-->
<!-- a session contains a number of maps and tables
-->
<!ELEMENT session (map*, table*)>
<!ATTLIST session title CDATA #REQUIRED>
<!-- a map consists of a number of layers
the projection refers to the projection
used for discplaing the map. If the projection
is missing, geographic coordinates in decimal
degrees are assumed.
-->
<!ELEMENT map (projection?, (layer | rasterlayer)*, labellayer?)>
<!ATTLIST map title CDATA #REQUIRED>
<!-- a layer represents a set of geographic objects.
pointers to the actual data are stored.
currently only a filename points to the data.
the projection refers to the projection
in which the data are stored. If the projection
is missing, geographic coordinates in decimal
degrees are assumed. Visibility is assumed true
unless otherwise specified.
-->
<!ELEMENT layer (projection?, classification?)>
<!ATTLIST layer title CDATA #REQUIRED>
<!ATTLIST layer filename CDATA #REQUIRED>
<!ATTLIST layer visible (true|false) "true">
<!-- the fill and stroke attributes can be either "None" or "#RRGGBB"
RGB hex values
All of fill, stroke and stroke_width may be omitted and default to
"None", "#000000" and "1" respectively.
-->
<!ATTLIST layer fill CDATA "None">
<!ATTLIST layer stroke CDATA "#000000">
<!ATTLIST layer stroke_width CDATA "1">
<!-- a rasterlayer represents an image that has some geographic data
associated with it. The filename points to the image used.
-->
<!ELEMENT rasterlayer (projection?, classification?)>
<!ATTLIST rasterlayer title CDATA #REQUIRED>
<!ATTLIST rasterlayer filename CDATA #REQUIRED>
<!ATTLIST rasterlayer visible (true|false) "true">
<!-- Classification data -->
<!ELEMENT classification (clnull?, (clpoint | clrange | clcont)*)>
<!ATTLIST classification field CDATA #REQUIRED>
<!ATTLIST classification field_type CDATA #REQUIRED>
<!ELEMENT clnull (cldata*)>
<!ELEMENT clpoint (cldata*)>
<!ELEMENT clrange (cldata*)>
<!ELEMENT clcont (cldata*)>
<!ATTLIST clnull label CDATA #IMPLIED>
<!ATTLIST clpoint value CDATA #REQUIRED>
<!ATTLIST clpoint label CDATA #IMPLIED>
<!ATTLIST clrange min CDATA #IMPLIED>
<!ATTLIST clrange max CDATA #IMPLIED>
<!ATTLIST clrange range CDATA #IMPLIED>
<!ATTLIST clrange label CDATA #IMPLIED>
<!ATTLIST clcont rmin CDATA #REQUIRED>
<!ATTLIST clcont rmax CDATA #REQUIRED>
<!ATTLIST clcont dmin CDATA #REQUIRED>
<!ATTLIST clcont dmax CDATA #REQUIRED>
<!ELEMENT cldata EMPTY>
<!ATTLIST cldata
stroke CDATA #IMPLIED
stroke_width CDATA #IMPLIED
fill CDATA #IMPLIED
>
<!-- a table points to the actual file that
contains the tabular data.
-->
<!ELEMENT table EMPTY>
<!ATTLIST table title CDATA #REQUIRED>
<!ATTLIST table filename CDATA #REQUIRED>
<!-- a projection has a number of parameters
-->
<!ELEMENT projection (parameter*)>
<!ATTLIST projection
name CDATA #IMPLIED >
<!-- just a simple parameter consisting of a value
-->
<!ELEMENT parameter EMPTY>
<!ATTLIST parameter value CDATA #REQUIRED>
<!-- The label layer contains text labels -->
<!ELEMENT labellayer (label*) >
<!ELEMENT label EMPTY>
<!ATTLIST label
x CDATA #REQUIRED
y CDATA #REQUIRED
text CDATA #REQUIRED
halign (left|center|right) #REQUIRED
valign (top|center|bottom) #REQUIRED>
|