Revision 808
Added by berkley over 23 years ago
lib/dtd/eml-software.dtd | ||
---|---|---|
1 |
<!-- |
|
2 |
* Ecological Metadata Language (EML) - Software descriptors |
|
3 |
* |
|
4 |
* Authors: Matt Jones, Zheng Wang, and Noah Goldstein |
|
5 |
* Organization: National Center for Ecological Analysis and Synthesis |
|
6 |
* For Details: http://www.nceas.ucsb.edu/ |
|
7 |
* Created: 1997 August 19 |
|
8 |
* Modified: 1999 June 23 |
|
9 |
* Version: 1.4 |
|
10 |
* File Info: '$Id$' |
|
11 |
* |
|
12 |
* Ecological Metadata Language is a general purpose metadata content |
|
13 |
* specification for documenting ecological data. The specification |
|
14 |
* consists of a series of modular document type definitions (DTD) that |
|
15 |
* provide metadata content descriptors. It describes the owner and |
|
16 |
* contents of the dataset (eml-dataset.dtd), the research context in |
|
17 |
* which it was created (eml-context.dtd), the structural |
|
18 |
* characteristics of data files (eml-file.dtd), the |
|
19 |
* characteristics of variables in a file (eml-variable.dtd), current |
|
20 |
* status of data and metadata files (eml-status.dtd), access control |
|
21 |
* rules regarding the data and metadata (eml-access.dtd), software |
|
22 |
* information (eml-software) and a variety of miscellaneous |
|
23 |
* supplemental descriptors (eml-supplement.dtd). |
|
24 |
* |
|
25 |
* Files generated under the structural constraints of eml are |
|
26 |
* plain-text files and therefore are editable in ordinary |
|
27 |
* text-processors. However, these DTDs are intended for use within |
|
28 |
* general purpose metadata editors, and within a more specific |
|
29 |
* metadata editor being developed at NCEAS for the ecological |
|
30 |
* community. This metadata editor will provide facilities for |
|
31 |
* version control and efficient metadata entry. |
|
32 |
* The purpose of this specification was to formalize the |
|
33 |
* Michener et al. work in a structured language to examine its |
|
34 |
* application to ecological data in a controlled manner. |
|
35 |
* |
|
36 |
* This specification was based on the work of the Ecological Society |
|
37 |
* of America's Committee on the Future of Long Term Data, and more |
|
38 |
* specifically on a related paper, Michener et al., 1997. See: |
|
39 |
* Michener, William K., et al., 1997. Ecological Appications, |
|
40 |
* "Nongeospatial metadata for the ecological sciences" |
|
41 |
* Vol 7(1). pp. 330-342. |
|
42 |
* |
|
43 |
* Where appropriate, we have used elements of the ISO/TC 211 draft |
|
44 |
* standard - the ISO Geographic information/Geomatics standard, |
|
45 |
* which includes xml code, as well as ISO 8601 schema. Some elements |
|
46 |
* in the ISO/TC 211 were expanded to allow for greater |
|
47 |
* resolution. |
|
48 |
* |
|
49 |
* For an explanation of the classes of metadata and elements defined |
|
50 |
* below, see Michener et al. 1997. In particular, the numbered comment |
|
51 |
* labels found below refer to Table 1 (pp. 336-337) of Michener |
|
52 |
* et al. 1997. In addition, each of the principal elements in the |
|
53 |
* specification is accompanied by a FIXED attribute called "description" |
|
54 |
* that provides a brief description of the content of the element. These |
|
55 |
* descriptions are derived from Michener et al. 1997. |
|
56 |
* |
|
57 |
--> |
|
58 |
|
|
59 |
<!-- SOFTWARE --> |
|
60 |
<!ELEMENT eml-software (meta_file_id, title, abstract, version_number, developer, source_module*, binary_file*, software_location+, programming_language+, operating_system+, system_requirements*)> |
|
61 |
<!ATTLIST eml-software description CDATA #FIXED "Software module - not in FLED Metadata report"> |
|
62 |
|
|
63 |
<!ELEMENT meta_file_id (#PCDATA)> |
|
64 |
<!ATTLIST meta_file_id description CDATA #FIXED "Unique identifier of this metadata record"> |
|
65 |
|
|
66 |
<!ELEMENT title (paragraph+)> |
|
67 |
<!ATTLIST title description CDATA #FIXED "Title"> |
|
68 |
|
|
69 |
<!ELEMENT abstract (paragraph+)> |
|
70 |
<!ATTLIST abstract description CDATA #FIXED "Descriptive abstract"> |
|
71 |
<!ELEMENT paragraph (#PCDATA)> |
|
72 |
<!ATTLIST paragraph description CDATA #FIXED "Paragraph of text"> |
|
73 |
|
|
74 |
<!ELEMENT version_number (#PCDATA)> |
|
75 |
<!ATTLIST version_number description CDATA #FIXED "Version number of code"> |
|
76 |
|
|
77 |
<!ELEMENT developer (party*)> |
|
78 |
<!ATTLIST developer description CDATA #FIXED "Developer of code"> |
|
79 |
<!ELEMENT party ((party_individual | party_org), meta_address)> |
|
80 |
<!ATTLIST party description CDATA #FIXED "Responsible party information"> |
|
81 |
<!ELEMENT party_individual (salutation*, given_name+, surname, jobtitle*)> |
|
82 |
<!ATTLIST party_individual description CDATA #FIXED "Full name of individual"> |
|
83 |
<!ELEMENT salutation (#PCDATA)> |
|
84 |
<!ATTLIST salutation description CDATA #FIXED "Salutation"> |
|
85 |
<!ELEMENT given_name (#PCDATA)> |
|
86 |
<!ATTLIST given_name description CDATA #FIXED "First name"> |
|
87 |
<!ELEMENT surname (#PCDATA)> |
|
88 |
<!ATTLIST surname description CDATA #FIXED "Last Name"> |
|
89 |
<!ELEMENT jobtitle (#PCDATA)> |
|
90 |
<!ATTLIST jobtitle description CDATA #FIXED "Job title"> |
|
91 |
<!ELEMENT party_org (#PCDATA)> |
|
92 |
<!ATTLIST party_org description CDATA #FIXED "Name of organization"> |
|
93 |
<!ELEMENT meta_address (address*, city?, admin_area*, postal_code?, country, resource_url*, email*, phone*, fax*, tdd_phone*)> |
|
94 |
<!ATTLIST meta_address description CDATA #FIXED "Contact information" |
|
95 |
meta_address_status (current|notcurrent) #REQUIRED |
|
96 |
meta_address_purpose (mail|institution|homeresidence) #REQUIRED> |
|
97 |
<!ELEMENT address (#PCDATA)> |
|
98 |
<!ATTLIST address description CDATA #FIXED "Street address"> |
|
99 |
<!ELEMENT city (#PCDATA)> |
|
100 |
<!ATTLIST city description CDATA #FIXED "City"> |
|
101 |
<!ELEMENT admin_area (#PCDATA)> |
|
102 |
<!ATTLIST admin_area description CDATA #FIXED "Administrative area (state, province, territory)"> |
|
103 |
<!ELEMENT postal_code (#PCDATA)> |
|
104 |
<!ATTLIST postal_code description CDATA #FIXED "Postal code"> |
|
105 |
<!ELEMENT country (#PCDATA)> |
|
106 |
<!ATTLIST country description CDATA #FIXED "Country"> |
|
107 |
<!ELEMENT resource_url (#PCDATA)> |
|
108 |
<!ATTLIST resource_url description CDATA #FIXED "URL"> |
|
109 |
<!ELEMENT email (#PCDATA)> |
|
110 |
<!ATTLIST email description CDATA #FIXED "Email address"> |
|
111 |
<!ELEMENT phone (country_code?,area_code?,local_code, extension?)> |
|
112 |
<!ATTLIST phone description CDATA #FIXED "Phone number"> |
|
113 |
<!ELEMENT fax (country_code?,area_code?,local_code)> |
|
114 |
<!ATTLIST fax description CDATA #FIXED "Facimilie telephone"> |
|
115 |
<!ELEMENT tdd_phone (country_code?,area_code?,local_code)> |
|
116 |
<!ATTLIST tdd_phone description CDATA #FIXED "TDD/TTY telephone"> |
|
117 |
<!ELEMENT country_code (#PCDATA)> |
|
118 |
<!ATTLIST country_code description CDATA #FIXED "Countrycode"> |
|
119 |
<!ELEMENT area_code (#PCDATA)> |
|
120 |
<!ATTLIST area_code description CDATA #FIXED "Area code"> |
|
121 |
<!ELEMENT local_code (#PCDATA)> |
|
122 |
<!ATTLIST local_code description CDATA #FIXED "Local phone code"> |
|
123 |
<!ELEMENT extension (#PCDATA)> |
|
124 |
<!ATTLIST extension description CDATA #FIXED "Phone extension code"> |
|
125 |
|
|
126 |
|
|
127 |
<!ELEMENT source_module (#PCDATA)> |
|
128 |
<!ATTLIST source_module description CDATA #FIXED "Script or code that implements the software in the programming_language indicated in programming_language." |
|
129 |
filename CDATA #IMPLIED> |
|
130 |
<!-- the above #IMPLIED is not necesarily correct --> |
|
131 |
|
|
132 |
<!ELEMENT binary_file (#PCDATA)> |
|
133 |
<!ATTLIST binary_file description CDATA #FIXED "Binary executable file" |
|
134 |
filename CDATA #IMPLIED> |
|
135 |
<!-- the above #IMPLIED is not necesarily correct --> |
|
136 |
|
|
137 |
|
|
138 |
<!ELEMENT software_location (meta_address|url)> |
|
139 |
<!ATTLIST software_location description CDATA #FIXED "Location of version"> |
|
140 |
<!ELEMENT url (#PCDATA)> |
|
141 |
<!ATTLIST url description CDATA #FIXED "URL"> |
|
142 |
|
|
143 |
<!ELEMENT programming_language (#PCDATA)> |
|
144 |
<!ATTLIST programming_language description CDATA #FIXED "Language of code"> |
|
145 |
|
|
146 |
<!ELEMENT operating_system (#PCDATA)> |
|
147 |
<!ATTLIST operating_system description CDATA #FIXED "Operating system"> |
|
148 |
|
|
149 |
<!ELEMENT system_requirements (#PCDATA)> |
|
150 |
<!ATTLIST system_requirements description CDATA #FIXED "System requirements"> |
|
151 |
|
|
152 |
<!-- End of file --> |
|
0 | 153 |
lib/dtd/eml-party-2.0.dtd | ||
---|---|---|
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$' |
|
8 |
'$Date$' |
|
9 |
'$Revision$' |
|
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 |
<!ENTITY % ResponsibleParty "((individualName|organizationName|positionName), |
|
26 |
address*, phone*, electronicMailAddress*, |
|
27 |
onlineLink*, role+)"> |
|
28 |
<!ELEMENT individualName (salutation*, givenName*, surName)> |
|
29 |
<!ELEMENT salutation (#PCDATA)> |
|
30 |
<!ELEMENT givenName (#PCDATA)> |
|
31 |
<!ELEMENT surName (#PCDATA)> |
|
32 |
<!ELEMENT organizationName (#PCDATA)> |
|
33 |
<!ELEMENT positionName (#PCDATA)> |
|
34 |
<!ELEMENT address (deliveryPoint*, city?, administrativeArea?, postalCode?, country?)> |
|
35 |
<!ELEMENT deliveryPoint (#PCDATA)> |
|
36 |
<!ELEMENT city (#PCDATA)> |
|
37 |
<!ELEMENT administrativeArea (#PCDATA)> |
|
38 |
<!ELEMENT postalCode (#PCDATA)> |
|
39 |
<!ELEMENT country (#PCDATA)> |
|
40 |
<!ELEMENT phone (#PCDATA)> |
|
41 |
<!ATTLIST phone |
|
42 |
phonetype CDATA "voice" |
|
43 |
> |
|
44 |
<!ELEMENT electronicMailAddress (#PCDATA)> |
|
45 |
<!ELEMENT onlineLink (#PCDATA)> |
|
46 |
<!-- Note that the domain for role is not expressed in the DTD --> |
|
47 |
<!ELEMENT role (#PCDATA)> |
|
48 |
<!-- EOF --> |
|
0 | 49 |
lib/dtd/eml-supplement.dtd | ||
---|---|---|
1 |
<!-- |
|
2 |
* Ecological Metadata Language (EML) - Supplemental descriptors |
|
3 |
* |
|
4 |
* Authors: Matt Jones, Zheng Wang, and Noah Goldstein |
|
5 |
* Organization: National Center for Ecological Analysis and Synthesis |
|
6 |
* For Details: http://www.nceas.ucsb.edu/ |
|
7 |
* Created: 1997 August 19 |
|
8 |
* Modified: 1999 June 23 |
|
9 |
* Version: 1.4 |
|
10 |
* File Info: '$Id$' |
|
11 |
* |
|
12 |
* Ecological Metadata Language is a general purpose metadata content |
|
13 |
* specification for documenting ecological data. The specification |
|
14 |
* consists of a series of modular document type definitions (DTD) that |
|
15 |
* provide metadata content descriptors. It describes the owner and |
|
16 |
* contents of the dataset (eml-dataset.dtd), the research context in |
|
17 |
* which it was created (eml-context.dtd), the structural |
|
18 |
* characteristics of data files (eml-file.dtd), the |
|
19 |
* characteristics of variables in a file (eml-variable.dtd), current |
|
20 |
* status of data and metadata files (eml-status.dtd), access control |
|
21 |
* rules regarding the data and metadata (eml-access.dtd), software |
|
22 |
* information (eml-software) and a variety of miscellaneous |
|
23 |
* supplemental descriptors (eml-supplement.dtd). |
|
24 |
* |
|
25 |
* Files generated under the structural constraints of eml are |
|
26 |
* plain-text files and therefore are editable in ordinary |
|
27 |
* text-processors. However, these DTDs are intended for use within |
|
28 |
* general purpose metadata editors, and within a more specific |
|
29 |
* metadata editor being developed at NCEAS for the ecological |
|
30 |
* community. This metadata editor will provide facilities for |
|
31 |
* version control and efficient metadata entry. |
|
32 |
* The purpose of this specification was to formalize the |
|
33 |
* Michener et al. work in a structured language to examine its |
|
34 |
* application to ecological data in a controlled manner. |
|
35 |
* |
|
36 |
* This specification was based on the work of the Ecological Society |
|
37 |
* of America's Committee on the Future of Long Term Data, and more |
|
38 |
* specifically on a related paper, Michener et al., 1997. See: |
|
39 |
* Michener, William K., et al., 1997. Ecological Appications, |
|
40 |
* "Nongeospatial metadata for the ecological sciences" |
|
41 |
* Vol 7(1). pp. 330-342. |
|
42 |
* |
|
43 |
* Where appropriate, we have used elements of the ISO/TC 211 draft |
|
44 |
* standard - the ISO Geographic information/Geomatics standard, |
|
45 |
* which includes xml code, as well as ISO 8601 schema. Some elements |
|
46 |
* in the ISO/TC 211 were expanded to allow for greater |
|
47 |
* resolution. |
|
48 |
* |
|
49 |
* For an explanation of the classes of metadata and elements defined |
|
50 |
* below, see Michener et al. 1997. In particular, the numbered comment |
|
51 |
* labels found below refer to Table 1 (pp. 336-337) of Michener |
|
52 |
* et al. 1997. In addition, each of the principal elements in the |
|
53 |
* specification is accompanied by a FIXED attribute called "description" |
|
54 |
* that provides a brief description of the content of the element. These |
|
55 |
* descriptions are derived from Michener et al. 1997. |
|
56 |
* |
|
57 |
--> |
|
58 |
|
|
59 |
<!-- * * * * |
|
60 |
CLASS V - SUPPLEMENTAL DESCRIPTORS |
|
61 |
* * * * |
|
62 |
--> |
|
63 |
|
|
64 |
<!-- Class 5 --> |
|
65 |
<!ELEMENT eml-supplement (meta_file_id, data_forms*, entry_verification*, |
|
66 |
quality_assurance*, related_material*, archival_procedures*, |
|
67 |
archival_sites*, publications*, data_request*, review_history*, remarks*)> |
|
68 |
<!ATTLIST eml-supplement description CDATA #FIXED "Supplemental descriptors"> |
|
69 |
<!ELEMENT meta_file_id (#PCDATA)> |
|
70 |
<!ATTLIST meta_file_id description CDATA #FIXED "Unique identifier of this metadata record"> |
|
71 |
|
|
72 |
|
|
73 |
<!-- Class 5.A.1 --> |
|
74 |
<!ELEMENT data_forms (meta_address?,formdescription?,examples?)+ > |
|
75 |
<!ATTLIST data_forms description CDATA #FIXED "Description or examples of data forms, automated data loggers, digitizers, digitizing procedures"> |
|
76 |
|
|
77 |
<!ELEMENT meta_address (address*, city?, admin_area*, postal_code?, country, resource_url*, email*, phone*, fax*, tdd_phone*)> |
|
78 |
<!ATTLIST meta_address description CDATA #FIXED "Contact information" |
|
79 |
meta_address_status (current|notcurrent) #REQUIRED |
|
80 |
meta_address_purpose (mail|institution|homeresidence) #REQUIRED> |
|
81 |
<!ELEMENT address (#PCDATA)> |
|
82 |
<!ATTLIST address description CDATA #FIXED "Street address"> |
|
83 |
<!ELEMENT city (#PCDATA)> |
|
84 |
<!ATTLIST city description CDATA #FIXED "City"> |
|
85 |
<!ELEMENT admin_area (#PCDATA)> |
|
86 |
<!ATTLIST admin_area description CDATA #FIXED "Administrative area (state, province, territory)"> |
|
87 |
<!ELEMENT postal_code (#PCDATA)> |
|
88 |
<!ATTLIST postal_code description CDATA #FIXED "Postal code"> |
|
89 |
<!ELEMENT country (#PCDATA)> |
|
90 |
<!ATTLIST country description CDATA #FIXED "Country"> |
|
91 |
<!ELEMENT resource_url (#PCDATA)> |
|
92 |
<!ATTLIST resource_url description CDATA #FIXED "URL"> |
|
93 |
<!ELEMENT email (#PCDATA)> |
|
94 |
<!ATTLIST email description CDATA #FIXED "Email address"> |
|
95 |
<!ELEMENT phone (country_code?,area_code?,local_code, extension?)> |
|
96 |
<!ATTLIST phone description CDATA #FIXED "Phone number"> |
|
97 |
<!ELEMENT fax (country_code?,area_code?,local_code)> |
|
98 |
<!ATTLIST fax description CDATA #FIXED "Facimilie telephone"> |
|
99 |
<!ELEMENT tdd_phone (country_code?,area_code?,local_code)> |
|
100 |
<!ATTLIST tdd_phone description CDATA #FIXED "TDD/TTY telephone"> |
|
101 |
<!ELEMENT country_code (#PCDATA)> |
|
102 |
<!ATTLIST country_code description CDATA #FIXED "Countrycode"> |
|
103 |
<!ELEMENT area_code (#PCDATA)> |
|
104 |
<!ATTLIST area_code description CDATA #FIXED "Area code"> |
|
105 |
<!ELEMENT local_code (#PCDATA)> |
|
106 |
<!ATTLIST local_code description CDATA #FIXED "Local phone code"> |
|
107 |
<!ELEMENT extension (#PCDATA)> |
|
108 |
<!ATTLIST extension description CDATA #FIXED "Phone extension code"> |
|
109 |
|
|
110 |
<!ELEMENT formdescription (paragraph+)> |
|
111 |
<!ATTLIST formdescription description CDATA #FIXED "Description of forms"> |
|
112 |
<!ELEMENT paragraph (#PCDATA)> |
|
113 |
<!ATTLIST paragraph description CDATA #FIXED "Paragraph of text"> |
|
114 |
|
|
115 |
|
|
116 |
<!ELEMENT examples (paragraph+)> |
|
117 |
<!ATTLIST examples description CDATA #FIXED "Examples"> |
|
118 |
|
|
119 |
<!-- for Class 5.A.2 - see 5.A.1 --> |
|
120 |
|
|
121 |
<!-- Class 5.A.3 --> |
|
122 |
<!ELEMENT entry_verification (paragraph*|citation*) > |
|
123 |
<!ATTLIST entry_verification description CDATA #FIXED "Procedures employed to verify that digital data is error free"> |
|
124 |
|
|
125 |
<!-- Class 5.B --> |
|
126 |
<!ELEMENT quality_assurance (paragraph*|citation*) > |
|
127 |
<!ATTLIST quality_assurance description CDATA #FIXED "Quality assurance / quality control procedures"> |
|
128 |
|
|
129 |
<!-- CLass 5.C --> |
|
130 |
<!ELEMENT related_material (paragraph*|citation*) > |
|
131 |
<!ATTLIST related_material description CDATA #FIXED "References and locations of related materials"> |
|
132 |
|
|
133 |
<!-- Class 5.D - see Software module --> |
|
134 |
|
|
135 |
<!-- Class 5.E.1 --> |
|
136 |
<!ELEMENT archival_procedures (paragraph*|citation*) > |
|
137 |
<!ATTLIST archival_procedures description CDATA #FIXED "Description of how data are archived for long-term storage and access"> |
|
138 |
|
|
139 |
<!-- Class 5.E.2 --> |
|
140 |
<!ELEMENT archival_sites (meta_address*) > |
|
141 |
<!ATTLIST archival_sites description CDATA #FIXED "Locations of redundant archival sites"> |
|
142 |
|
|
143 |
<!-- Class 5.F --> |
|
144 |
<!ELEMENT publications ((citation, paragraph*)+) > |
|
145 |
<!ATTLIST publications description CDATA #FIXED "List of all Publications and results in all media"> |
|
146 |
<!ELEMENT citation ( (author|editor)*, source_information?)> |
|
147 |
<!ATTLIST citation description CDATA #FIXED "Citation"> |
|
148 |
<!ELEMENT author (party)> |
|
149 |
<!ATTLIST author description CDATA #FIXED "Author"> |
|
150 |
<!ELEMENT party ((party_individual | party_org), meta_address)> |
|
151 |
<!ATTLIST party description CDATA #FIXED "Responsible party information"> |
|
152 |
<!ELEMENT party_individual (salutation*, given_name+, surname, jobtitle*)> |
|
153 |
<!ATTLIST party_individual description CDATA #FIXED "Full name of individual"> |
|
154 |
<!ELEMENT salutation (#PCDATA)> |
|
155 |
<!ATTLIST salutation description CDATA #FIXED "Salutation"> |
|
156 |
<!ELEMENT given_name (#PCDATA)> |
|
157 |
<!ATTLIST given_name description CDATA #FIXED "First name"> |
|
158 |
<!ELEMENT surname (#PCDATA)> |
|
159 |
<!ATTLIST surname description CDATA #FIXED "Last Name"> |
|
160 |
<!ELEMENT jobtitle (#PCDATA)> |
|
161 |
<!ATTLIST jobtitle description CDATA #FIXED "Job title"> |
|
162 |
<!ELEMENT party_org (#PCDATA)> |
|
163 |
<!ATTLIST party_org description CDATA #FIXED "Name of organization"> |
|
164 |
<!ELEMENT editor (party)> |
|
165 |
<!ATTLIST editor description CDATA #FIXED "Editor"> |
|
166 |
<!ELEMENT source_information (title, vol?, issue?, pubdate?, |
|
167 |
publisher?, edition?, series?, chapter_title?, |
|
168 |
pages?, resource_url*)> |
|
169 |
<!ATTLIST source_information description CDATA #FIXED "Source information"> |
|
170 |
<!ELEMENT title (#PCDATA)> |
|
171 |
<!ATTLIST title description CDATA #FIXED "Title or theme of data set"> |
|
172 |
<!ELEMENT vol (#PCDATA)> |
|
173 |
<!ATTLIST vol description CDATA #FIXED "Volume"> |
|
174 |
<!ELEMENT issue (#PCDATA)> |
|
175 |
<!ATTLIST issue description CDATA #FIXED "Issue id"> |
|
176 |
<!ELEMENT pubdate (datetime)> |
|
177 |
<!ATTLIST pubdate description CDATA #FIXED "Date of publication"> |
|
178 |
<!ELEMENT datetime (year?, month?, day?, hour?, minute?, second?, second_fraction?, time_zone_designator?)> |
|
179 |
<!ATTLIST datetime description CDATA #FIXED "Date and time as designated in ISO 8601"> |
|
180 |
<!ELEMENT year (#PCDATA)> |
|
181 |
<!ATTLIST year description CDATA #FIXED "Year in YYYY format"> |
|
182 |
<!ELEMENT month (#PCDATA)> |
|
183 |
<!ATTLIST month description CDATA #FIXED "Month in MM format"> |
|
184 |
<!ELEMENT day (#PCDATA)> |
|
185 |
<!ATTLIST day description CDATA #FIXED "Day of month in DD format"> |
|
186 |
<!ELEMENT hour (#PCDATA)> |
|
187 |
<!ATTLIST hour description CDATA #FIXED "Hour in hh"> |
|
188 |
<!ELEMENT minute (#PCDATA)> |
|
189 |
<!ATTLIST minute description CDATA #FIXED "Minute in mm"> |
|
190 |
<!ELEMENT second (#PCDATA)> |
|
191 |
<!ATTLIST second description CDATA #FIXED "Seconds in ss"> |
|
192 |
<!ELEMENT second_fraction (#PCDATA)> |
|
193 |
<!ATTLIST second_fraction description CDATA #FIXED "One or more digits representing a decimal fraction of a second"> |
|
194 |
<!ELEMENT time_zone_designator (#PCDATA)> |
|
195 |
<!ATTLIST time_zone_designator description CDATA #FIXED "Time zone designator"> |
|
196 |
|
|
197 |
<!ELEMENT publisher (party)> |
|
198 |
<!ATTLIST publisher description CDATA #FIXED "Publisher"> |
|
199 |
<!ELEMENT edition (#PCDATA)> |
|
200 |
<!ATTLIST edition description CDATA #FIXED "Edition"> |
|
201 |
<!ELEMENT series (#PCDATA)> |
|
202 |
<!ATTLIST series description CDATA #FIXED "Series"> |
|
203 |
<!ELEMENT chapter_title (title)> |
|
204 |
<!ATTLIST chapter_title description CDATA #FIXED "Chapter title"> |
|
205 |
<!ELEMENT pages (#PCDATA)> |
|
206 |
<!ATTLIST pages description CDATA #FIXED "Pages"> |
|
207 |
|
|
208 |
<!-- Class 5.G.1 --> |
|
209 |
<!ELEMENT data_request (datetime,party,paragraph*) > |
|
210 |
<!ATTLIST data_request description CDATA #FIXED "Log of who requested data, for what purpose, and how data set was actually used"> |
|
211 |
|
|
212 |
<!-- Class 5.G.2 - see Class 3.A.1 --> |
|
213 |
|
|
214 |
<!-- Class 5.G.3 --> |
|
215 |
<!ELEMENT review_history (datetime, party, paragraph*) > |
|
216 |
<!ATTLIST review_history description CDATA #FIXED "Review history; Last entry, last researcher review"> |
|
217 |
|
|
218 |
<!-- Class 5.G.4 --> |
|
219 |
<!ELEMENT remarks (datetime, party, comments)> |
|
220 |
<!ATTLIST remarks description CDATA #FIXED "Questions and comments from secondary users, including problems with data"> |
|
221 |
<!ELEMENT comments (paragraph+)> |
|
222 |
<!ATTLIST comments description CDATA #FIXED "Comments of users"> |
|
223 |
|
|
224 |
<!-- End of file --> |
|
0 | 225 |
lib/dtd/eml-access-2.0.dtd | ||
---|---|---|
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$' |
|
8 |
'$Date$' |
|
9 |
'$Revision$' |
|
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 |
|
|
26 |
|
|
27 |
<!-- The root element represents a list of principals that should be either |
|
28 |
allowed or denied access to a resource. --> |
|
29 |
<!ELEMENT acl (identifier+,allow*, deny*)> |
|
30 |
<!ATTLIST acl authSystem CDATA "ldap" |
|
31 |
order (allowFirst|denyFirst) "allowFirst"> |
|
32 |
<!-- The authentication system that this access file uses --> |
|
33 |
<!-- The order in which the rules should be applied for this object --> |
|
34 |
<!-- The public read access to this object --> |
|
35 |
|
|
36 |
<!ELEMENT identifier (#PCDATA)> |
|
37 |
<!-- an allow rule adds the listed permission for a particular principal --> |
|
38 |
<!ELEMENT allow (principal+, permission+, duration?, ticketCount?)> |
|
39 |
<!-- a deny rule removes the listed permission for a particular principal --> |
|
40 |
<!ELEMENT deny (principal+, permission+, duration?, ticketCount?)> |
|
41 |
<!-- the user/group in the authentication system to whom this rule applies --> |
|
42 |
<!ELEMENT principal (#PCDATA)> |
|
43 |
<!-- the permission to be allowed or denied (read/write/all) --> |
|
44 |
<!ELEMENT permission (#PCDATA)> |
|
45 |
<!-- the duration of the permission --> |
|
46 |
<!ELEMENT duration (startDate, stopDate)> |
|
47 |
<!ELEMENT startDate (#PCDATA)> |
|
48 |
<!ELEMENT stopDate (#PCDATA)> |
|
49 |
<!-- the number of accesses allowed by this rule if access is granted --> |
|
50 |
<!ELEMENT ticketCount (#PCDATA)> |
|
51 |
|
|
52 |
<!-- EOF --> |
|
0 | 53 |
lib/dtd/eml-access.dtd | ||
---|---|---|
1 |
<!-- |
|
2 |
* Ecological Metadata Language (EML) - Access control descriptors |
|
3 |
* |
|
4 |
* Authors: Matt Jones, Zheng Wang, and Noah Goldstein |
|
5 |
* Organization: National Center for Ecological Analysis and Synthesis |
|
6 |
* For Details: http://www.nceas.ucsb.edu/ |
|
7 |
* Created: 1997 August 19 |
|
8 |
* Modified: 1999 June 23 |
|
9 |
* Version: 1.4 |
|
10 |
* File Info: '$Id$' |
|
11 |
* |
|
12 |
* Ecological Metadata Language is a general purpose metadata content |
|
13 |
* specification for documenting ecological data. The specification |
|
14 |
* consists of a series of modular document type definitions (DTD) that |
|
15 |
* provide metadata content descriptors. It describes the owner and |
|
16 |
* contents of the dataset (eml-dataset.dtd), the research context in |
|
17 |
* which it was created (eml-context.dtd), the structural |
|
18 |
* characteristics of data files (eml-file.dtd), the |
|
19 |
* characteristics of variables in a file (eml-variable.dtd), current |
|
20 |
* status of data and metadata files (eml-status.dtd), access control |
|
21 |
* rules regarding the data and metadata (eml-access.dtd), software |
|
22 |
* information (eml-software) and a variety of miscellaneous |
|
23 |
* supplemental descriptors (eml-supplement.dtd). |
|
24 |
* |
|
25 |
* Files generated under the structural constraints of eml are |
|
26 |
* plain-text files and therefore are editable in ordinary |
|
27 |
* text-processors. However, these DTDs are intended for use within |
|
28 |
* general purpose metadata editors, and within a more specific |
|
29 |
* metadata editor being developed at NCEAS for the ecological |
|
30 |
* community. This metadata editor will provide facilities for |
|
31 |
* version control and efficient metadata entry. |
|
32 |
* The purpose of this specification was to formalize the |
|
33 |
* Michener et al. work in a structured language to examine its |
|
34 |
* application to ecological data in a controlled manner. |
|
35 |
* |
|
36 |
* This specification was based on the work of the Ecological Society |
|
37 |
* of America's Committee on the Future of Long Term Data, and more |
|
38 |
* specifically on a related paper, Michener et al., 1997. See: |
|
39 |
* Michener, William K., et al., 1997. Ecological Appications, |
|
40 |
* "Nongeospatial metadata for the ecological sciences" |
|
41 |
* Vol 7(1). pp. 330-342. |
|
42 |
* |
|
43 |
* Where appropriate, we have used elements of the ISO/TC 211 draft |
|
44 |
* standard - the ISO Geographic information/Geomatics standard, |
|
45 |
* which includes xml code, as well as ISO 8601 schema. Some elements |
|
46 |
* in the ISO/TC 211 were expanded to allow for greater |
|
47 |
* resolution. |
|
48 |
* |
|
49 |
* For an explanation of the classes of metadata and elements defined |
|
50 |
* below, see Michener et al. 1997. In particular, the numbered comment |
|
51 |
* labels found below refer to Table 1 (pp. 336-337) of Michener |
|
52 |
* et al. 1997. In addition, each of the principal elements in the |
|
53 |
* specification is accompanied by a FIXED attribute called "description" |
|
54 |
* that provides a brief description of the content of the element. These |
|
55 |
* descriptions are derived from Michener et al. 1997. |
|
56 |
* |
|
57 |
--> |
|
58 |
|
|
59 |
<!-- * * * * |
|
60 |
CLASS III B - DATA SET ACCESSIBILITY |
|
61 |
* * * * |
|
62 |
--> |
|
63 |
|
|
64 |
<!-- Class 3.B --> |
|
65 |
<!ELEMENT eml-access (meta_file_id, storage_location* , contact*, copyright?, access, standard_citation?, disclaimer? , fees?)> |
|
66 |
<!ATTLIST eml-access description CDATA #FIXED "Data set accesability"> |
|
67 |
<!ELEMENT meta_file_id (#PCDATA)> |
|
68 |
<!ATTLIST meta_file_id description CDATA #FIXED "Unique identifier of this metadata record"> |
|
69 |
|
|
70 |
<!-- Class 3.B.1 --> |
|
71 |
<!ELEMENT storage_location ((meta_address|resource_url)+,medium*)> |
|
72 |
<!ATTLIST storage_location description CDATA #FIXED "Storage loation and medium, including pointers to sites"> |
|
73 |
<!ELEMENT meta_address (address*, city?, admin_area*, postal_code?, country, resource_url*, email*, phone*, fax*, tdd_phone*)> |
|
74 |
<!ATTLIST meta_address description CDATA #FIXED "Contact information" |
|
75 |
meta_address_status (current|notcurrent) #REQUIRED |
|
76 |
meta_address_purpose (mail|institution|homeresidence) #REQUIRED> |
|
77 |
<!ELEMENT address (#PCDATA)> |
|
78 |
<!ATTLIST address description CDATA #FIXED "Street address"> |
|
79 |
<!ELEMENT city (#PCDATA)> |
|
80 |
<!ATTLIST city description CDATA #FIXED "City"> |
|
81 |
<!ELEMENT admin_area (#PCDATA)> |
|
82 |
<!ATTLIST admin_area description CDATA #FIXED "Administrative area (state, province, territory)"> |
|
83 |
<!ELEMENT postal_code (#PCDATA)> |
|
84 |
<!ATTLIST postal_code description CDATA #FIXED "Postal code"> |
|
85 |
<!ELEMENT country (#PCDATA)> |
|
86 |
<!ATTLIST country description CDATA #FIXED "Country"> |
|
87 |
<!ELEMENT resource_url (#PCDATA)> |
|
88 |
<!ATTLIST resource_url description CDATA #FIXED "URL"> |
|
89 |
<!ELEMENT email (#PCDATA)> |
|
90 |
<!ATTLIST email description CDATA #FIXED "Email address"> |
|
91 |
<!ELEMENT phone (country_code?,area_code?,local_code, extension?)> |
|
92 |
<!ATTLIST phone description CDATA #FIXED "Phone number"> |
|
93 |
<!ELEMENT fax (country_code?,area_code?,local_code)> |
|
94 |
<!ATTLIST fax description CDATA #FIXED "Facimilie telephone"> |
|
95 |
<!ELEMENT tdd_phone (country_code?,area_code?,local_code)> |
|
96 |
<!ATTLIST tdd_phone description CDATA #FIXED "TDD/TTY telephone"> |
|
97 |
<!ELEMENT country_code (#PCDATA)> |
|
98 |
<!ATTLIST country_code description CDATA #FIXED "Countrycode"> |
|
99 |
<!ELEMENT area_code (#PCDATA)> |
|
100 |
<!ATTLIST area_code description CDATA #FIXED "Area code"> |
|
101 |
<!ELEMENT local_code (#PCDATA)> |
|
102 |
<!ATTLIST local_code description CDATA #FIXED "Local phone code"> |
|
103 |
<!ELEMENT extension (#PCDATA)> |
|
104 |
<!ATTLIST extension description CDATA #FIXED "Phone extension code"> |
|
105 |
|
|
106 |
<!ELEMENT medium (#PCDATA)> |
|
107 |
<!ATTLIST medium description CDATA #FIXED "Medium of data storage"> |
|
108 |
|
|
109 |
<!-- Class 3.B.2 --> |
|
110 |
<!ELEMENT contact (party)> |
|
111 |
<!ATTLIST contact description CDATA #FIXED "Contact person information"> |
|
112 |
<!ELEMENT party ((party_individual | party_org), meta_address)> |
|
113 |
<!ATTLIST party description CDATA #FIXED "Responsible party information"> |
|
114 |
<!ELEMENT party_individual (salutation*, given_name+, surname, jobtitle*)> |
|
115 |
<!ATTLIST party_individual description CDATA #FIXED "Full name of individual"> |
|
116 |
<!ELEMENT salutation (#PCDATA)> |
|
117 |
<!ATTLIST salutation description CDATA #FIXED "Salutation"> |
|
118 |
<!ELEMENT given_name (#PCDATA)> |
|
119 |
<!ATTLIST given_name description CDATA #FIXED "First name"> |
|
120 |
<!ELEMENT surname (#PCDATA)> |
|
121 |
<!ATTLIST surname description CDATA #FIXED "Last Name"> |
|
122 |
<!ELEMENT jobtitle (#PCDATA)> |
|
123 |
<!ATTLIST jobtitle description CDATA #FIXED "Job title"> |
|
124 |
<!ELEMENT party_org (#PCDATA)> |
|
125 |
<!ATTLIST party_org description CDATA #FIXED "Name of organization"> |
|
126 |
|
|
127 |
|
|
128 |
<!-- Class 3.B.3 --> |
|
129 |
<!ELEMENT copyright (paragraph+)> |
|
130 |
<!ATTLIST copyright description CDATA #FIXED "Copyright restrictions of data set"> |
|
131 |
<!ELEMENT paragraph (#PCDATA)> |
|
132 |
<!ATTLIST paragraph description CDATA #FIXED "Paragraph of text"> |
|
133 |
|
|
134 |
<!-- Class 3.B.4.a --> |
|
135 |
<!ELEMENT access (public|(limited+)|private)> |
|
136 |
<!ATTLIST access description CDATA #FIXED "Usage access of data"> |
|
137 |
<!ELEMENT public (avail_time)> |
|
138 |
<!ATTLIST public description CDATA #FIXED "Data open to all users"> |
|
139 |
<!ELEMENT avail_time (datetime)> |
|
140 |
<!ATTLIST avail_time description CDATA #FIXED "Date and time when the dataset will become public"> |
|
141 |
<!ELEMENT datetime (year?, month?, day?, hour?, minute?, second?, second_fraction?, time_zone_designator?)> |
|
142 |
<!ATTLIST datetime description CDATA #FIXED "Date and time as designated in ISO |
|
143 |
8601"> |
|
144 |
|
|
145 |
<!ELEMENT year (#PCDATA)> |
|
146 |
<!ATTLIST year description CDATA #FIXED "Year in YYYY format"> |
|
147 |
<!ELEMENT month (#PCDATA)> |
|
148 |
<!ATTLIST month description CDATA #FIXED "Month in MM format"> |
|
149 |
<!ELEMENT day (#PCDATA)> |
|
150 |
<!ATTLIST day description CDATA #FIXED "Day of month in DD format"> |
|
151 |
<!ELEMENT hour (#PCDATA)> |
|
152 |
<!ATTLIST hour description CDATA #FIXED "Hour in hh"> |
|
153 |
<!ELEMENT minute (#PCDATA)> |
|
154 |
<!ATTLIST minute description CDATA #FIXED "Minute in mm"> |
|
155 |
<!ELEMENT second (#PCDATA)> |
|
156 |
<!ATTLIST second description CDATA #FIXED "Seconds in ss"> |
|
157 |
<!ELEMENT second_fraction (#PCDATA)> |
|
158 |
<!ATTLIST second_fraction description CDATA #FIXED "One or more digits representing a decimal fraction of a second"> |
|
159 |
<!ELEMENT time_zone_designator (#PCDATA)> |
|
160 |
<!ATTLIST time_zone_designator description CDATA #FIXED "Time zone designator"> |
|
161 |
|
|
162 |
<!ELEMENT limited (party+, avail_time)> |
|
163 |
<!ATTLIST limited description CDATA #FIXED "Alowable users until date, when data is open"> |
|
164 |
<!ELEMENT private EMPTY> |
|
165 |
<!ATTLIST private description CDATA #FIXED "Data closed to all users"> |
|
166 |
|
|
167 |
|
|
168 |
<!-- Class 3.B.4.b --> |
|
169 |
<!ELEMENT standard_citation (citation+)> |
|
170 |
<!ATTLIST standard_citation description CDATA #FIXED "How data should be appropriately cited"> |
|
171 |
|
|
172 |
|
|
173 |
<!ELEMENT citation ( (author|editor)*, source_information*)> |
|
174 |
<!ATTLIST citation description CDATA #FIXED "Citation"> |
|
175 |
<!ELEMENT author (party)> |
|
176 |
<!ATTLIST author description CDATA #FIXED "Author"> |
|
177 |
<!ELEMENT editor (party)> |
|
178 |
<!ATTLIST editor description CDATA #FIXED "Editor"> |
|
179 |
<!ELEMENT source_information (title, vol?, no?, issueid?, pubdate?, |
|
180 |
publisher?, edition?, series?, chapter_title?, |
|
181 |
pages?, resource_url*)> |
|
182 |
<!ATTLIST source_information description CDATA #FIXED "Source information"> |
|
183 |
<!ELEMENT title (#PCDATA)> |
|
184 |
<!ATTLIST title description CDATA #FIXED "Title"> |
|
185 |
<!ELEMENT vol (#PCDATA)> |
|
186 |
<!ATTLIST vol description CDATA #FIXED "Volume"> |
|
187 |
<!ELEMENT no (#PCDATA)> |
|
188 |
<!ATTLIST no description CDATA #FIXED "Number"> |
|
189 |
<!ELEMENT issueid (#PCDATA)> |
|
190 |
<!ATTLIST issueid description CDATA #FIXED "Issue id"> |
|
191 |
<!ELEMENT pubdate (datetime)> |
|
192 |
<!ATTLIST pubdate description CDATA #FIXED "Date of publication"> |
|
193 |
<!ELEMENT publisher (party, resource_url?)> |
|
194 |
<!ATTLIST publisher description CDATA #FIXED "Publisher"> |
|
195 |
<!ELEMENT edition (#PCDATA)> |
|
196 |
<!ATTLIST edition description CDATA #FIXED "Edition"> |
|
197 |
<!ELEMENT series (#PCDATA)> |
|
198 |
<!ATTLIST series description CDATA #FIXED "Series"> |
|
199 |
<!ELEMENT chapter_title (title)> |
|
200 |
<!ATTLIST chapter_title description CDATA #FIXED "Chapter title"> |
|
201 |
<!ELEMENT pages (#PCDATA)> |
|
202 |
<!ATTLIST pages description CDATA #FIXED "Pages"> |
|
203 |
|
|
204 |
<!-- Class 3.B.4.c --> |
|
205 |
<!ELEMENT disclaimer (paragraph+)> |
|
206 |
<!ATTLIST disclaimer description CDATA #FIXED "Any disclamers that should be acknowledged by secondary users"> |
|
207 |
|
|
208 |
<!-- Class 3.B.5 --> |
|
209 |
<!ELEMENT fees (amount,unit,paragraph*)> |
|
210 |
<!ATTLIST fees description CDATA #FIXED "Costs associated with acquiring data"> |
|
211 |
|
|
212 |
<!ELEMENT amount (#PCDATA) > |
|
213 |
<!ATTLIST amount description CDATA #FIXED "Amount"> |
|
214 |
<!ELEMENT unit (#PCDATA) > |
|
215 |
<!ATTLIST unit description CDATA #FIXED "Unit"> |
|
216 |
|
|
217 |
<!-- End of file --> |
|
0 | 218 |
lib/dtd/eml-entity-2.0.dtd | ||
---|---|---|
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$' |
|
8 |
'$Date$' |
|
9 |
'$Revision$' |
|
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 structural |
|
26 |
characteristics of every entity in a dataset. --> |
|
27 |
|
|
28 |
<!ENTITY % EntityBase "(identifier+, entityName, entityDescription?, |
|
29 |
temporalCoverage*, geographicCoverage*,taxonomicCoverage*)"> |
|
30 |
|
|
31 |
|
|
32 |
<!ELEMENT table-entity (%EntityBase;, orientation?, caseSensitive?, |
|
33 |
numberOfRecords?)> |
|
34 |
|
|
35 |
<!ELEMENT other-entity (%EntityBase;, entityType)> |
|
36 |
|
|
37 |
<!-- fields for EntityBase --> |
|
38 |
<!ELEMENT identifier (#PCDATA)> |
|
39 |
|
|
40 |
<!ELEMENT entityName (#PCDATA) > |
|
41 |
<!ELEMENT entityDescription (#PCDATA) > |
|
42 |
|
|
43 |
<!-- fields for table-entity --> |
|
44 |
<!ELEMENT orientation EMPTY > |
|
45 |
<!ATTLIST orientation columnorrow (columnmajor|rowmajor) "columnmajor"> |
|
46 |
<!ELEMENT caseSensitive EMPTY > |
|
47 |
<!ATTLIST caseSensitive yesorno (yes|no) "no"> |
|
48 |
<!ELEMENT numberOfRecords (#PCDATA)> |
|
49 |
|
|
50 |
<!-- fields for other-entity --> |
|
51 |
<!ELEMENT entityType (#PCDATA)> |
|
52 |
|
|
53 |
|
|
54 |
<!ELEMENT temporalCoverage (#PCDATA)> |
|
55 |
<!ELEMENT geographicCoverage (#PCDATA)> |
|
56 |
<!ELEMENT taxonomicCoverage (#PCDATA)> |
|
57 |
|
|
58 |
<!-- End of file --> |
|
0 | 59 |
lib/dtd/eml-physical-2.0.dtd | ||
---|---|---|
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$' |
|
8 |
'$Date$' |
|
9 |
'$Revision$' |
|
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 structural |
|
26 |
characteristics of physical objects --> |
|
27 |
<!-- The root element, which contains an identifier and |
|
28 |
an physical description --> |
|
29 |
<!ELEMENT eml-physical (identifier, format, characterEncoding?, size?, authentication*, compressionMethod?, |
|
30 |
encodingMethod?, numHeaderLines?, recordDelimiter?, maxRecordLength?, |
|
31 |
quoteCharacter*, literalCharacter*, (fieldStartColumn?, (fieldDelimiter | fieldWidth))* )> |
|
32 |
<!-- File identifier of the metadata document --> |
|
33 |
<!ELEMENT identifier (#PCDATA)> |
|
34 |
<!ATTLIST identifier |
|
35 |
system CDATA #IMPLIED |
|
36 |
> |
|
37 |
<!-- size --> |
|
38 |
<!ELEMENT size (#PCDATA)> |
|
39 |
<!ATTLIST size |
|
40 |
unit CDATA "bytes" |
|
41 |
> |
|
42 |
<!-- Authentication value and method --> |
|
43 |
<!ELEMENT authentication (#PCDATA)> |
|
44 |
<!ATTLIST authentication |
|
45 |
method CDATA #IMPLIED |
|
46 |
> |
|
47 |
<!-- Entity format (e.g., text, name of various binary formats [TIFF]) --> |
|
48 |
<!ELEMENT format (#PCDATA)> |
|
49 |
<!-- characterEncoding fro text files (e.g., ASCII, UTF-8) --> |
|
50 |
<!ELEMENT characterEncoding (#PCDATA)> |
|
51 |
<!-- Method of compression --> |
|
52 |
<!ELEMENT compressionMethod (#PCDATA)> |
|
53 |
<!-- Method of encoding --> |
|
54 |
<!ELEMENT encodingMethod (#PCDATA)> |
|
55 |
<!-- The character used to delimit records in the entity --> |
|
56 |
<!ELEMENT recordDelimiter (#PCDATA)> |
|
57 |
<!ELEMENT maxRecordLength (#PCDATA)> |
|
58 |
<!-- The character used to delimit quote data values so that the |
|
59 |
filed delimeters can be used in the data value, typically |
|
60 |
" or ' --> |
|
61 |
<!ELEMENT quoteCharacter (#PCDATA)> |
|
62 |
<!-- The character used to escape special characters |
|
63 |
so that they are interpreted literally, usually \ --> |
|
64 |
<!ELEMENT literalCharacter (#PCDATA)> |
|
65 |
<!-- Number of header lines or information that prepares data --> |
|
66 |
<!ELEMENT numHeaderLines (#PCDATA)> |
|
67 |
|
|
68 |
<!-- |
|
69 |
Variable width format fields (attributes) can vary in their |
|
70 |
field length, thus the end of the field is |
|
71 |
delimited by a special character called a |
|
72 |
field delimiter (typically a comma or a space). |
|
73 |
|
|
74 |
Data sets are generally classified as fixedWidth |
|
75 |
format or variableWidth format, but we have |
|
76 |
determined that this is actually a per-field |
|
77 |
classification because one may encounter |
|
78 |
fixedWidth fields mixed together in the same |
|
79 |
data file with variableWidth fields. |
|
80 |
|
|
81 |
In our encoding scheme, the start of each field |
|
82 |
is assumed to be the column after the last column |
|
83 |
of the previous field, or the first column |
|
84 |
if this is the first field in the dataset, unless |
|
85 |
the starting column is explicity enumerated using the |
|
86 |
"fieldStartColumn" element. |
|
87 |
The end column for each field is classified |
|
88 |
using either a special character delimeter indicated |
|
89 |
using the filedDelimiter element, |
|
90 |
or a fixed field length indicated by using the "fieldWidth" |
|
91 |
element. The delimiter for the last field in the data set can be omitted. |
|
92 |
variableWidth fields can vary in their field length, and the end of |
|
93 |
the field is delimited by a special character |
|
94 |
called a field delimiter, usually a comma or |
|
95 |
a tab character. fixedWidth fields have a set |
|
96 |
length, and so the end of the field can always |
|
97 |
be determined by adding the fieldWidth to the |
|
98 |
starting column number. Here is an example: |
|
99 |
|
|
100 |
Assume we have the following data in a data set: |
|
101 |
|
|
102 |
May,100aaaa,1.2, |
|
103 |
April,200aaaa,3.4, |
|
104 |
June,300bbbb,4.6, |
|
105 |
|
|
106 |
The metadata indicating the physical layout of the 4 fields would include the |
|
107 |
following: |
|
108 |
|
|
109 |
<delimiter>,</delimiter> |
|
110 |
<fieldWidth>3</fieldWidth> |
|
111 |
<fieldWidth>3</fieldWidth> |
|
112 |
<delimiter>,</delimiter> |
|
113 |
|
|
114 |
In a strictly fixed format file, the metadata would be slightly different: |
|
115 |
|
|
116 |
May100aaaa1.2 |
|
117 |
Apr200aaaa3.4 |
|
118 |
Jun300bbbb4.6 |
|
119 |
|
|
120 |
<fieldWidth>3</fieldWidth> |
|
121 |
<fieldWidth>3</fieldWidth> |
|
122 |
<fieldWidth>4</fieldWidth> |
|
123 |
<fieldWidth>3</fieldWidth> |
|
124 |
|
|
125 |
or, one could explicitly describe the starting columns: |
|
126 |
|
|
127 |
<fieldStartColumn>1</fieldStartColumn> |
|
128 |
<fieldWidth>3</fieldWidth> |
|
129 |
<fieldStartColumn>4</fieldStartColumn> |
|
130 |
<fieldWidth>3</fieldWidth> |
|
131 |
<fieldStartColumn>7</fieldStartColumn> |
|
132 |
<fieldWidth>4</fieldWidth> |
|
133 |
<fieldStartColumn>11</fieldStartColumn> |
|
134 |
<fieldWidth>3</fieldWidth> |
|
135 |
--> |
|
136 |
<!ELEMENT fieldStartColumn (#PCDATA)> |
|
137 |
<!ELEMENT fieldDelimiter (#PCDATA)> |
|
138 |
<!ELEMENT fieldWidth (#PCDATA)> |
|
139 |
<!ELEMENT paragraph (#PCDATA)> |
|
140 |
<!-- End of file --> |
|
0 | 141 |
lib/dtd/eml-distribution-2.0.dtd | ||
---|---|---|
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$' |
|
8 |
'$Date$' |
|
9 |
'$Revision$' |
|
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 |
|
|
26 |
<!ELEMENT eml-distribution (identifier, distributorFormat+, distributor*, digitalTransfer*)> |
|
27 |
<!-- File identifier of the metadata document --> |
|
28 |
<!ELEMENT identifier (#PCDATA)> |
|
29 |
<!ATTLIST identifier |
|
30 |
system CDATA #IMPLIED |
|
31 |
> |
|
32 |
<!ELEMENT distributorFormat (formatName+, formatVersion+, formatSpec*, compressionType*, distributionFormat*)> |
|
33 |
<!ELEMENT formatName (#PCDATA)> |
|
34 |
<!ELEMENT formatVersion (#PCDATA)> |
|
35 |
<!ELEMENT formatSpec (#PCDATA)> |
|
36 |
<!ELEMENT compressionType (#PCDATA)> |
|
37 |
<!ELEMENT distributionFormat (#PCDATA)> |
|
38 |
<!ELEMENT distributor (contact+, standardOrderProcess*, distributorFormat*)> |
|
39 |
<!ELEMENT contact ((individualName|organizationName|positionName), |
|
40 |
address*, phone*, electronicMailAddress*, |
|
41 |
onlineLink*, role+)> |
|
42 |
<!ELEMENT standardOrderProcess (fees*, dateTimeAvailable*, orderingInstructions*, turnaround*)> |
|
43 |
<!ELEMENT fees (#PCDATA)> |
|
44 |
<!ELEMENT dateTimeAvailable (#PCDATA)> |
|
45 |
<!-- date/time --> |
|
46 |
<!ELEMENT orderingInstructions (#PCDATA)> |
|
47 |
<!ELEMENT turnaround (#PCDATA)> |
|
48 |
<!ELEMENT digitalTransfer (distributionUnits?, transferSize?, onLine*, offLineResource*)> |
|
49 |
<!ELEMENT distributionUnits (#PCDATA)> |
|
50 |
<!ELEMENT transferSize (#PCDATA)> |
|
51 |
<!ELEMENT onLine (#PCDATA)> |
|
52 |
<!-- from iso-party.dtd --> |
|
53 |
<!ELEMENT offLineResource (medium+)> |
|
54 |
<!ELEMENT medium (medName?, medDensity?, medDensityUnits?, medVol?, medFormat*, medNote?)> |
|
55 |
<!ELEMENT medName (#PCDATA)> |
|
56 |
<!ELEMENT medDensity (#PCDATA)> |
|
57 |
<!ELEMENT medDensityUnits (#PCDATA)> |
|
58 |
<!ELEMENT medVol (#PCDATA)> |
|
59 |
<!ELEMENT medFormat (#PCDATA)> |
|
60 |
<!-- code list from B.6.23 --> |
|
61 |
<!ELEMENT medNote (#PCDATA)> |
|
62 |
|
|
63 |
<!--from eml-party-2.0--> |
|
64 |
<!ELEMENT individualName (salutation*, givenName*, surName)> |
|
65 |
<!ELEMENT salutation (#PCDATA)> |
|
66 |
<!ELEMENT givenName (#PCDATA)> |
|
67 |
<!ELEMENT surName (#PCDATA)> |
|
68 |
<!ELEMENT organizationName (#PCDATA)> |
|
69 |
<!ELEMENT positionName (#PCDATA)> |
|
70 |
<!ELEMENT address (deliveryPoint*, city?, administrativeArea?, postalCode?, country?)> |
|
71 |
<!ELEMENT deliveryPoint (#PCDATA)> |
|
72 |
<!ELEMENT city (#PCDATA)> |
|
73 |
<!ELEMENT administrativeArea (#PCDATA)> |
|
74 |
<!ELEMENT postalCode (#PCDATA)> |
|
75 |
<!ELEMENT country (#PCDATA)> |
|
76 |
<!ELEMENT phone (#PCDATA)> |
|
77 |
<!ATTLIST phone |
|
78 |
phonetype CDATA "voice" |
|
79 |
> |
|
80 |
<!ELEMENT electronicMailAddress (#PCDATA)> |
|
81 |
<!ELEMENT onlineLink (#PCDATA)> |
|
82 |
<!-- Note that the domain for role is not expressed in the DTD --> |
|
83 |
<!ELEMENT role (#PCDATA)> |
|
84 |
<!-- EOF --> |
|
0 | 85 |
lib/dtd/eml-file.dtd | ||
---|---|---|
1 |
<!-- |
|
2 |
* Ecological Metadata Language (EML) - Data set structural descriptors |
|
3 |
* |
|
4 |
* Authors: Matt Jones, Zheng Wang, and Noah Goldstein |
|
5 |
* Organization: National Center for Ecological Analysis and Synthesis |
|
6 |
* For Details: http://www.nceas.ucsb.edu/ |
|
7 |
* Created: 1997 August 19 |
|
8 |
* Modified: 1999 June 23 |
|
9 |
* Version: 1.4 |
|
10 |
* File Info: '$Id$' |
|
11 |
* |
|
12 |
* Ecological Metadata Language is a general purpose metadata content |
|
13 |
* specification for documenting ecological data. The specification |
|
14 |
* consists of a series of modular document type definitions (DTD) that |
|
15 |
* provide metadata content descriptors. It describes the owner and |
|
16 |
* contents of the dataset (eml-dataset.dtd), the research context in |
|
17 |
* which it was created (eml-context.dtd), the structural |
|
18 |
* characteristics of data files (eml-file.dtd), the |
|
19 |
* characteristics of variables in a file (eml-variable.dtd), current |
|
20 |
* status of data and metadata files (eml-status.dtd), access control |
|
21 |
* rules regarding the data and metadata (eml-access.dtd), software |
|
22 |
* information (eml-software) and a variety of miscellaneous |
|
23 |
* supplemental descriptors (eml-supplement.dtd). |
|
24 |
* |
|
25 |
* Files generated under the structural constraints of eml are |
|
26 |
* plain-text files and therefore are editable in ordinary |
|
27 |
* text-processors. However, these DTDs are intended for use within |
|
28 |
* general purpose metadata editors, and within a more specific |
|
29 |
* metadata editor being developed at NCEAS for the ecological |
|
30 |
* community. This metadata editor will provide facilities for |
|
31 |
* version control and efficient metadata entry. |
|
32 |
* The purpose of this specification was to formalize the |
|
33 |
* Michener et al. work in a structured language to examine its |
|
34 |
* application to ecological data in a controlled manner. |
|
35 |
* |
|
36 |
* This specification was based on the work of the Ecological Society |
|
37 |
* of America's Committee on the Future of Long Term Data, and more |
|
38 |
* specifically on a related paper, Michener et al., 1997. See: |
|
39 |
* Michener, William K., et al., 1997. Ecological Appications, |
|
40 |
* "Nongeospatial metadata for the ecological sciences" |
|
41 |
* Vol 7(1). pp. 330-342. |
|
42 |
* |
|
43 |
* Where appropriate, we have used elements of the ISO/TC 211 draft |
|
44 |
* standard - the ISO Geographic information/Geomatics standard, |
|
45 |
* which includes xml code, as well as ISO 8601 schema. Some elements |
|
46 |
* in the ISO/TC 211 were expanded to allow for greater |
|
47 |
* resolution. |
|
48 |
* |
|
49 |
* For an explanation of the classes of metadata and elements defined |
|
50 |
* below, see Michener et al. 1997. In particular, the numbered comment |
|
51 |
* labels found below refer to Table 1 (pp. 336-337) of Michener |
|
52 |
* et al. 1997. In addition, each of the principal elements in the |
|
53 |
* specification is accompanied by a FIXED attribute called "description" |
|
54 |
* that provides a brief description of the content of the element. These |
|
55 |
* descriptions are derived from Michener et al. 1997. |
|
56 |
* |
|
57 |
--> |
|
58 |
|
|
59 |
<!-- * * * * |
|
60 |
CLASS IV - DATA STRUCTURE DESCRIPTORS |
|
61 |
* * * * |
|
62 |
--> |
|
63 |
|
|
64 |
<!-- Class 4 --> |
|
65 |
<!ELEMENT eml-file (meta_file_id, file)> |
|
66 |
<!ATTLIST eml-file description CDATA #FIXED "Data structural descriptors"> |
|
67 |
<!ELEMENT meta_file_id (#PCDATA)> |
|
68 |
<!ATTLIST meta_file_id description CDATA #FIXED "Unique identifier of this metadata record"> |
|
69 |
|
|
70 |
<!-- Class 4.A --> |
|
71 |
<!ELEMENT file (file_name, file_size?, format, orientation?, header_lines?, |
|
72 |
case_sensitive?, geographic_coverage*, temporal_coverage*, |
|
73 |
authentication*, data_problem*)> |
|
74 |
<!ATTLIST file description CDATA #FIXED "Data set file"> |
|
75 |
|
|
76 |
<!-- Class 4.A.1 --> |
|
77 |
<!ELEMENT file_name (#PCDATA) > |
|
78 |
<!ATTLIST file_name description CDATA #FIXED "File name"> |
|
79 |
|
|
80 |
<!-- Class 4.A.2 --> |
|
81 |
<!ELEMENT file_size (amount, unit) > |
|
82 |
<!ATTLIST file_size description CDATA #FIXED "Size of file"> |
|
83 |
<!ELEMENT amount (#PCDATA) > |
|
84 |
<!ATTLIST amount description CDATA #FIXED "Amount"> |
|
85 |
<!ELEMENT unit (#PCDATA) > |
|
86 |
<!ATTLIST unit description CDATA #FIXED "Unit"> |
|
87 |
|
|
88 |
|
|
89 |
<!-- Class 4.A.3 --> |
|
90 |
<!ELEMENT format (compressed|encoded|base_file_type)> |
|
91 |
<!ATTLIST format description CDATA #FIXED "File type and compression schemes employed"> |
|
92 |
<!ELEMENT compressed (#PCDATA)> |
|
93 |
<!ATTLIST compressed description CDATA #FIXED "Method of compression"> |
|
94 |
<!ELEMENT encoded (#PCDATA)> |
|
95 |
<!ATTLIST encoded description CDATA #FIXED "Method of encoding"> |
|
96 |
<!ELEMENT base_file_type (ASCII|binary)> |
|
97 |
<!ATTLIST base_file_type description CDATA #FIXED "Base file type"> |
|
98 |
<!ELEMENT ASCII (record_delimiter)> |
|
99 |
<!ATTLIST ASCII description CDATA #FIXED "ASCII"> |
|
100 |
<!ELEMENT record_delimiter (#PCDATA)> |
|
101 |
<!ATTLIST record_delimiter description CDATA #FIXED "Record delimiter"> |
|
102 |
<!ELEMENT binary EMPTY> |
|
103 |
<!ATTLIST binary description CDATA #FIXED "Binary"> |
|
104 |
|
|
105 |
<!-- NEW SECTION --> |
|
106 |
<!ELEMENT orientation EMPTY > |
|
107 |
<!ATTLIST orientation columnorrow (columnmajor|rowmajor) "columnmajor" |
|
108 |
description CDATA #FIXED "Is file column major or row major?"> |
|
109 |
|
|
110 |
<!-- Class 4.A.4 --> |
|
111 |
<!ELEMENT header_lines (#PCDATA) > |
|
112 |
<!ATTLIST header_lines description CDATA #FIXED "Number of header lines or information that prepares data"> |
|
113 |
|
|
114 |
<!-- Class 4.A.5 --> |
|
115 |
<!ELEMENT case_sensitive EMPTY > |
|
116 |
<!ATTLIST case_sensitive yesorno (y|n) "n" |
|
117 |
description CDATA #FIXED "Case sensitivity of field"> |
|
118 |
|
|
119 |
<!-- Class 4.A.6 --> |
|
120 |
<!-- the field "specialfield" was removed as there were questions to its usefull ness --> |
|
121 |
|
|
122 |
<!ELEMENT geographic_coverage (paragraph*, coordinates*)> |
|
123 |
<!ATTLIST geographic_coverage description CDATA #FIXED "Geographic coverage"> |
|
124 |
|
|
125 |
<!ELEMENT coordinates (lattitude, longitude) > |
|
126 |
<!ATTLIST coordinates description CDATA #FIXED "Cartesian Coordinates"> |
|
127 |
<!ELEMENT lattitude (#PCDATA)> |
|
128 |
<!ATTLIST lattitude direction (north|south) #REQUIRED |
|
129 |
description CDATA #FIXED "Lattitude coordinates"> |
|
130 |
<!ELEMENT longitude (#PCDATA)> |
|
131 |
<!ATTLIST longitude direction (east|west) #REQUIRED |
|
132 |
description CDATA #FIXED "Longitude coordinates"> |
|
133 |
|
|
134 |
<!ELEMENT temporal_coverage (start_date,stop_date?)> |
|
135 |
<!ATTLIST temporal_coverage description CDATA #FIXED "Temporal coverage"> |
|
136 |
<!ELEMENT start_date (datetime)> |
|
137 |
<!ATTLIST start_date description CDATA #FIXED "Date data collection commenced"> |
|
138 |
<!ELEMENT datetime (year?, month?, day?, hour?, minute?, second?, second_fraction?, time_zone_designator?)> |
|
139 |
<!ATTLIST datetime description CDATA #FIXED "Date and time as designated in ISO 8601"> |
|
140 |
<!ELEMENT year (#PCDATA)> |
|
141 |
<!ATTLIST year description CDATA #FIXED "Year in YYYY format"> |
|
142 |
<!ELEMENT month (#PCDATA)> |
|
143 |
<!ATTLIST month description CDATA #FIXED "Month in MM format"> |
|
144 |
<!ELEMENT day (#PCDATA)> |
|
145 |
<!ATTLIST day description CDATA #FIXED "Day of month in DD format"> |
|
146 |
<!ELEMENT hour (#PCDATA)> |
|
147 |
<!ATTLIST hour description CDATA #FIXED "Hour in hh"> |
|
148 |
<!ELEMENT minute (#PCDATA)> |
|
149 |
<!ATTLIST minute description CDATA #FIXED "Minute in mm"> |
|
150 |
<!ELEMENT second (#PCDATA)> |
|
151 |
<!ATTLIST second description CDATA #FIXED "Seconds in ss"> |
|
152 |
<!ELEMENT second_fraction (#PCDATA)> |
|
153 |
<!ATTLIST second_fraction description CDATA #FIXED "One or more digits representing a decimal fraction of a second"> |
|
154 |
<!ELEMENT time_zone_designator (#PCDATA)> |
|
155 |
<!ATTLIST time_zone_designator description CDATA #FIXED "Time zone designator"> |
|
156 |
|
|
157 |
<!ELEMENT stop_date (datetime)> |
|
158 |
<!ATTLIST stop_date description CDATA #FIXED "Date data collection terminated"> |
|
159 |
|
|
160 |
|
|
161 |
<!-- Class 4.A.7 --> |
|
162 |
<!ELEMENT authentication (#PCDATA) > |
|
163 |
<!ATTLIST authentication description CDATA #FIXED "Authentication procedures or techniques"> |
|
164 |
|
|
165 |
|
|
166 |
<!-- Class 4.B --> |
|
167 |
<!-- Class 4.B (variable) was moved to its own module (eml-variable.dtd) --> |
|
168 |
|
|
169 |
<!-- Class 4.C --> |
|
170 |
<!ELEMENT data_problem (paragraph+)> |
|
171 |
<!ATTLIST data_problem problemtype (missing|anomaly|error) #REQUIRED |
|
172 |
description CDATA #FIXED "Data anomalies; description of missing data"> |
|
173 |
<!ELEMENT paragraph (#PCDATA)> |
|
174 |
<!ATTLIST paragraph description CDATA #FIXED "Paragraph of text"> |
|
175 |
|
|
176 |
<!-- End of file --> |
|
0 | 177 |
lib/dtd/eml-dataset-2.0.dtd | ||
---|---|---|
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$' |
|
8 |
'$Date$' |
|
9 |
'$Revision$' |
|
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 |
|
|
26 |
<!ENTITY % responsibleParty "((individualName|organizationName|positionName)+, |
|
27 |
address*, phone*, electronicMailAddress*, |
|
28 |
onlineLink*, role+)"> |
|
29 |
|
|
30 |
<!ELEMENT individualName (salutation*, givenName*, surName)> |
|
31 |
<!ELEMENT salutation (#PCDATA)> |
|
32 |
<!ELEMENT givenName (#PCDATA)> |
|
33 |
<!ELEMENT surName (#PCDATA)> |
|
34 |
|
|
35 |
<!ELEMENT organizationName (#PCDATA)> |
|
36 |
<!ELEMENT positionName (#PCDATA)> |
|
37 |
|
|
38 |
<!ELEMENT address (deliveryPoint*, city?, administrativeArea?, |
|
39 |
postalCode?, country?)> |
|
40 |
<!ELEMENT deliveryPoint (#PCDATA)> |
|
41 |
<!ELEMENT city (#PCDATA)> |
|
42 |
<!ELEMENT administrativeArea (#PCDATA)> |
|
43 |
<!ELEMENT postalCode (#PCDATA)> |
|
44 |
<!ELEMENT country (#PCDATA)> |
|
45 |
|
|
46 |
<!ELEMENT phone (#PCDATA)> |
|
47 |
<!ATTLIST phone phonetype CDATA "voice"> |
|
48 |
<!ELEMENT electronicMailAddress (#PCDATA)> |
|
49 |
<!ELEMENT onlineLink (#PCDATA)> |
|
50 |
|
|
51 |
<!-- Note that the domain for role is not expressed in the DTD --> |
|
52 |
<!ELEMENT role (#PCDATA)> |
|
53 |
|
|
54 |
|
|
55 |
<!-- entity to conglomerate these fields into one name --> |
|
56 |
<!ENTITY % resbase "(identifier+, shortName?, title+, |
|
57 |
originator+, pubdate?, pubplace?, series?, abstract?, |
|
58 |
keywordSet*, additionalInfo?, triple*)" > |
|
59 |
|
|
60 |
<!-- common fields --> |
|
61 |
<!ELEMENT identifier (#PCDATA)> |
|
62 |
<!ATTLIST identifier system CDATA ""> |
|
63 |
<!ELEMENT shortName (#PCDATA)> |
|
64 |
<!ELEMENT title (#PCDATA)> |
|
65 |
<!ELEMENT originator ((%responsibleParty;))> |
|
66 |
<!ELEMENT pubdate (#PCDATA)> |
|
67 |
<!ELEMENT pubplace (#PCDATA)> |
|
68 |
<!ELEMENT series (#PCDATA)> |
|
69 |
<!ELEMENT abstract (paragraph+)> |
|
70 |
<!ELEMENT keywordSet (keyword+, keywordThesaurus*)> |
|
71 |
<!ELEMENT keyword (#PCDATA)> |
|
72 |
<!ATTLIST keyword keywordType CDATA ""> |
|
73 |
<!ELEMENT keywordThesaurus (#PCDATA)> |
|
74 |
<!ELEMENT additionalInfo (paragraph+)> |
|
75 |
<!ELEMENT paragraph (#PCDATA)> |
|
76 |
<!ELEMENT triple (subject, relationship, object)> |
|
77 |
<!ELEMENT subject (#PCDATA)> |
|
78 |
<!ELEMENT relationship (#PCDATA)> |
|
79 |
<!ELEMENT object (#PCDATA)> |
|
80 |
|
|
81 |
|
|
82 |
<!ELEMENT temporalCoverage (#PCDATA)> |
|
83 |
<!ELEMENT geographicCoverage (#PCDATA)> |
|
84 |
<!ELEMENT taxonomicCoverage (#PCDATA)> |
|
85 |
|
|
86 |
|
|
87 |
<!-- The dataset branch --> |
|
88 |
<!ELEMENT dataset ((%resbase;), temporalCoverage*, geographicCoverage*, |
|
89 |
taxonomicCoverage* )> |
|
90 |
|
|
91 |
<!-- EOF --> |
|
0 | 92 |
lib/dtd/eml-status.dtd | ||
---|---|---|
1 |
<!-- |
|
2 |
* Ecological Metadata Language (EML) - Status descriptors |
|
3 |
* |
|
4 |
* Authors: Matt Jones, Zheng Wang, and Noah Goldstein |
|
5 |
* Organization: National Center for Ecological Analysis and Synthesis |
|
6 |
* For Details: http://www.nceas.ucsb.edu/ |
|
7 |
* Created: 1997 August 19 |
|
8 |
* Modified: 1999 June 23 |
|
9 |
* Version: 1.4 |
|
10 |
* File Info: '$Id$' |
|
11 |
* |
|
12 |
* Ecological Metadata Language is a general purpose metadata content |
|
13 |
* specification for documenting ecological data. The specification |
|
14 |
* consists of a series of modular document type definitions (DTD) that |
|
15 |
* provide metadata content descriptors. It describes the owner and |
|
16 |
* contents of the dataset (eml-dataset.dtd), the research context in |
|
17 |
* which it was created (eml-context.dtd), the structural |
|
18 |
* characteristics of data files (eml-file.dtd), the |
|
19 |
* characteristics of variables in a file (eml-variable.dtd), current |
|
20 |
* status of data and metadata files (eml-status.dtd), access control |
|
21 |
* rules regarding the data and metadata (eml-access.dtd), software |
|
22 |
* information (eml-software) and a variety of miscellaneous |
|
23 |
* supplemental descriptors (eml-supplement.dtd). |
|
24 |
* |
|
25 |
* Files generated under the structural constraints of eml are |
|
26 |
* plain-text files and therefore are editable in ordinary |
|
27 |
* text-processors. However, these DTDs are intended for use within |
|
28 |
* general purpose metadata editors, and within a more specific |
|
29 |
* metadata editor being developed at NCEAS for the ecological |
|
30 |
* community. This metadata editor will provide facilities for |
|
31 |
* version control and efficient metadata entry. |
|
32 |
* The purpose of this specification was to formalize the |
|
33 |
* Michener et al. work in a structured language to examine its |
|
34 |
* application to ecological data in a controlled manner. |
|
35 |
* |
|
36 |
* This specification was based on the work of the Ecological Society |
|
37 |
* of America's Committee on the Future of Long Term Data, and more |
|
38 |
* specifically on a related paper, Michener et al., 1997. See: |
|
39 |
* Michener, William K., et al., 1997. Ecological Appications, |
|
40 |
* "Nongeospatial metadata for the ecological sciences" |
|
41 |
* Vol 7(1). pp. 330-342. |
|
42 |
* |
|
43 |
* Where appropriate, we have used elements of the ISO/TC 211 draft |
|
44 |
* standard - the ISO Geographic information/Geomatics standard, |
|
45 |
* which includes xml code, as well as ISO 8601 schema. Some elements |
|
46 |
* in the ISO/TC 211 were expanded to allow for greater |
|
47 |
* resolution. |
|
48 |
* |
|
49 |
* For an explanation of the classes of metadata and elements defined |
|
50 |
* below, see Michener et al. 1997. In particular, the numbered comment |
|
51 |
* labels found below refer to Table 1 (pp. 336-337) of Michener |
|
52 |
* et al. 1997. In addition, each of the principal elements in the |
|
53 |
* specification is accompanied by a FIXED attribute called "description" |
|
54 |
* that provides a brief description of the content of the element. These |
Also available in: Unified diff
dtds that have entities removed for morpho/metacat compatibility