Project

General

Profile

1
<!--
2
       '$RCSfile$'
3
       Copyright: 2000 Regents of the University of California and the
4
                  National Center for Ecological Analysis and Synthesis
5
     For Details: http://knb.ecoinformatics.org/
6

    
7
        '$Author: jones $'
8
          '$Date: 2001-10-22 09:46:55 -0700 (Mon, 22 Oct 2001) $'
9
      '$Revision: 853 $'
10

    
11
    This program is free software; you can redistribute it and/or modify
12
    it under the terms of the GNU General Public License as published by
13
    the Free Software Foundation; either version 2 of the License, or
14
    (at your option) any later version.
15

    
16
    This program is distributed in the hope that it will be useful,
17
    but WITHOUT ANY WARRANTY; without even the implied warranty of
18
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
    GNU General Public License for more details.
20

    
21
    You should have received a copy of the GNU General Public License
22
    along with this program; if not, write to the Free Software
23
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24
-->
25
<!-- EML DTD document that defines the
26
     characteristics of all attributes in a dataset. -->
27
<!-- The root element, which represents a list of attributes in a dataset -->
28
<!ELEMENT eml-attribute (identifier, attribute+)>
29
<!-- File identifier of the metadata document -->
30
<!ELEMENT identifier (#PCDATA)>
31
<!ATTLIST identifier
32
  system CDATA #IMPLIED
33
>
34
<!-- Attribute element is a descriptor of an attribute in the dataset
35
     identified by its name. -->
36
<!ELEMENT attribute (attributeName, attributeLabel*, attributeDefinition, unit?, dataType?, attributeDomain, missingValueCode*, precision?)>
37
<!-- Attribute name -->
38
<!ELEMENT attributeName (#PCDATA)>
39
<!-- Attribute label -->
40
<!ELEMENT attributeLabel (#PCDATA)>
41
<!-- Precise definition of attributes in data set -->
42
<!ELEMENT attributeDefinition (#PCDATA)>
43
<!-- Unit -->
44
<!ELEMENT unit (#PCDATA)>
45
<!-- data type; Integer, floating point, character, string -->
46
<!ELEMENT dataType (#PCDATA)>
47
<!-- Domain of the attribute -->
48
<!ELEMENT attributeDomain (enumeratedDomain+ | rangeDomain+)>
49
<!-- Description of any codes associated with attributes -->
50
<!ELEMENT enumeratedDomain (code, definition, source?)>
51
<!ELEMENT code (#PCDATA)>
52
<!-- List and definition of attribute codes -->
53
<!ELEMENT definition (#PCDATA)>
54
<!-- Source of attribute codes -->
55
<!ELEMENT source (#PCDATA)>
56
<!-- Range for numeric values -->
57
<!ELEMENT rangeDomain (minimum?, maximum?)>
58
<!ELEMENT minimum (#PCDATA)>
59
<!ELEMENT maximum (#PCDATA)>
60
<!-- Character used to represent missing data -->
61
<!ELEMENT missingValueCode (#PCDATA)>
62
<!-- Precision; number of significant digits -->
63
<!ELEMENT precision (#PCDATA)>
64
<!-- End of file -->
(2-2/12)