Project

General

Profile

« Previous | Next » 

Revision 876

Removed all of the redundant/obsolete copies of eml dtds from the
metacat module. Now one must get the dtds from the mdstandards/eml
module instead. This is doen to ensure that the DTDs installed are up to
date.

Note that I am adding build support into the build.xml file for automatically
checking out and installing the EML dtds as part of the install process.

View differences:

lib/dtd/eml-attribute-2.0.0.beta6e.dtd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!ELEMENT eml-attribute (identifier+, attribute+)>
3
<!ELEMENT identifier (#PCDATA)>
4
<!ATTLIST identifier system CDATA #IMPLIED>
5
<!ELEMENT attribute (attributeName, attributeLabel*, attributeDefinition, unit?, dataType?, attributeDomain, missingValueCode*, precision?)>
6
<!ELEMENT attributeName (#PCDATA)>
7
<!ELEMENT attributeLabel (#PCDATA)>
8
<!ELEMENT attributeDefinition (#PCDATA)>
9
<!ELEMENT unit (#PCDATA)>
10
<!ELEMENT dataType (#PCDATA)>
11
<!ELEMENT attributeDomain ((enumeratedDomain | textDomain)+ | numericDomain+)>
12
<!ELEMENT missingValueCode (#PCDATA)>
13
<!ELEMENT precision (#PCDATA)>
14
<!ELEMENT enumeratedDomain (code, definition, source?)>
15
<!ELEMENT textDomain (definition, pattern*, source?)>
16
<!ELEMENT numericDomain (minimum?, maximum?)>
17
<!ELEMENT code (#PCDATA)>
18
<!ELEMENT definition (#PCDATA)>
19
<!ELEMENT source (#PCDATA)>
20
<!ELEMENT pattern (#PCDATA)>
21
<!ELEMENT minimum (#PCDATA)>
22
<!ELEMENT maximum (#PCDATA)>
23 0

  
lib/dtd/eml-project-2.0.0.beta4e.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
<!--eml-coverage--> 
27
<!--
28
<!ELEMENT temporalCov (#PCDATA)>
29
-->
30
<!ELEMENT temporalCov (sngdate | mdattim | rngdates)>
31
<!ELEMENT sngdate ((caldate, time?) | geolage)>
32
<!ELEMENT geolage (geolscal, geolest, geolun?, geolexpl?, geolcit*)>
33
<!ELEMENT caldate (#PCDATA)>
34
<!ELEMENT time (#PCDATA)>
35
<!ELEMENT begdate (#PCDATA)>
36
<!ELEMENT beggeol (geolage)>
37
<!ELEMENT begtime (#PCDATA)>
38
<!ELEMENT enddate (#PCDATA)>
39
<!ELEMENT endgeol (geolage)>
40
<!ELEMENT endtime (#PCDATA)>
41
<!ELEMENT mdattim (sngdate+)>
42
<!ELEMENT rngdates ((begdate, begtime?, enddate, endtime?) | (beggeol, endgeol))>
43
<!ELEMENT geolscal (#PCDATA)>
44
<!ELEMENT geolest (#PCDATA)>
45
<!ELEMENT geolun (#PCDATA)>
46
<!ELEMENT geolexpl (#PCDATA)>
47
<!ELEMENT geolcit (citeinfo)>
48
<!ELEMENT citeinfo (#PCDATA)> 
49

  
50

  
51

  
52
<!ELEMENT geographicCov (descgeog, bounding, dsgpoly*)>
53
<!ELEMENT descgeog (#PCDATA)>
54
<!ELEMENT bounding (westbc, eastbc, northbc, southbc, boundalt?)>
55
<!ELEMENT dsgpoly (dsgpolyo, dsgpolyx*)>
56
<!ELEMENT gring (#PCDATA)>
57
<!ELEMENT grngpoin (gringlat, gringlon)>
58
<!ELEMENT gringlat (#PCDATA)>
59
<!ELEMENT gringlon (#PCDATA)>
60
<!ELEMENT westbc (#PCDATA)>
61
<!ELEMENT eastbc (#PCDATA)>
62
<!ELEMENT northbc (#PCDATA)>
63
<!ELEMENT southbc (#PCDATA)>
64
<!ELEMENT boundalt (altmin, almax, altunits)>
65
<!ELEMENT dsgpolyo (grngpoin+ | gring)>
66
<!ELEMENT dsgpolyx (grngpoin+ | gring)>  
67

  
68
<!ELEMENT altmin (#PCDATA)>
69
<!ELEMENT almax (#PCDATA)>
70
<!ELEMENT altunits (#PCDATA)>
71

  
72

  
73
<!--end eml-coverage-->
74

  
75
<!--eml-party-->
76

  
77
<!ELEMENT individualName (salutation*, givenName*, surName)>
78
<!ELEMENT salutation (#PCDATA)>
79
<!ELEMENT givenName (#PCDATA)>
80
<!ELEMENT surName (#PCDATA)> 
81

  
82

  
83
<!ELEMENT organizationName (#PCDATA)>
84
<!ELEMENT positionName (#PCDATA)>
85
<!ELEMENT address (deliveryPoint*, city?, administrativeArea?, postalCode?, country?)>
86
<!ELEMENT deliveryPoint (#PCDATA)>
87
<!ELEMENT city (#PCDATA)>
88
<!ELEMENT administrativeArea (#PCDATA)>
89
<!ELEMENT postalCode (#PCDATA)>
90
<!ELEMENT country (#PCDATA)>
91
<!ELEMENT phone (#PCDATA)>
92
<!ATTLIST phone
93
  phonetype CDATA "voice"
94
>
95
<!ELEMENT electronicMailAddress (#PCDATA)>
96
<!ELEMENT onlineLink (#PCDATA)>
97

  
98
<!ELEMENT role (#PCDATA)>      
99

  
100
<!--end eml-party-->
101

  
102
<!--eml-protocol-->
103
<!ELEMENT protocol (method*, processingStep*, qualityControl*)>
104
<!ELEMENT method (paragraph*, citation*)>
105
<!ELEMENT processingStep (paragraph*, citation*)>
106
<!ELEMENT qualityControl (paragraph*, citation*)>
107
<!ELEMENT paragraph (#PCDATA)>
108
<!--end eml-protocol-->
109

  
110
<!--eml-literature-->
111
<!--
112
<!ELEMENT citation (#PCDATA)> 
113
-->
114

  
115
<!ELEMENT citation ((individualName|organizationName|positionName),
116
                             address*, phone*, electronicMailAddress*, 
117
                             onlineLink*, role+, ISBN?, ISSN?, 
118
                             (article | book | chapter | manuscript | report | thesis))>
119
<!ELEMENT ISBN (#PCDATA)>
120
<!ELEMENT ISSN (#PCDATA)>
121
<!ELEMENT article (jounal, volume, issue?, pageRange)>
122
<!ELEMENT book (edition?, totalPages?, totalFigures?, totalTables?, volume?)>
123
<!ELEMENT chapter (chapterNumber?, bookEditor, bookTitle, publisher, pageRange?, 
124
                   edition?, volume?)>
125
<!ELEMENT manuscript (pubInfo, Location)>
126
<!ELEMENT report (institution, reportNumber)>
127
<!ELEMENT thesis (degree, pubInfo, totalPages, degreeInstitution)>
128
<!ELEMENT jounal (#PCDATA)>
129
<!ELEMENT volume (#PCDATA)>
130
<!ELEMENT issue (#PCDATA)>
131
<!ELEMENT pageRange (#PCDATA)>
132
<!ELEMENT edition (#PCDATA)>
133
<!ELEMENT totalPages (#PCDATA)>
134
<!ELEMENT totalFigures (#PCDATA)>
135
<!ELEMENT totalTables (#PCDATA)>
136
<!ELEMENT chapterNumber (#PCDATA)>
137
<!ELEMENT bookEditor (#PCDATA)>
138
<!ELEMENT bookTitle (#PCDATA)>
139
<!ELEMENT publisher (#PCDATA)>
140
<!ELEMENT pubInfo ((individualName|organizationName|positionName),
141
                             address*, phone*, electronicMailAddress*, 
142
                             onlineLink*, role+)>
143
<!ELEMENT Location (#PCDATA)>
144
<!ELEMENT institution ((individualName|organizationName|positionName),
145
                             address*, phone*, electronicMailAddress*, 
146
                             onlineLink*, role+)>
147
<!ELEMENT reportNumber (#PCDATA)>
148
<!ELEMENT degree (#PCDATA)>
149
<!ELEMENT degreeInstitution (#PCDATA)> 
150

  
151
<!--end eml-literature-->
152

  
153
<!-- The root element, which represents the research project 
154
     employed by the researchers who created this dataset -->
155
<!ELEMENT eml-project (identifier, researchProject+)>
156
<!-- Research project descriptor -->
157
<!ELEMENT researchProject (title+, originator+, temporalCov*, objectives?, 
158
          abstract?, funding?, siteDescription*, designDescription*, 
159
          protocol*, staff*, researchProject*)>
160
<!ELEMENT title (#PCDATA)>
161
<!ELEMENT originator ((individualName|organizationName|positionName)+,
162
                             address*, phone*, electronicMailAddress*, 
163
                             onlineLink*, role+)>
164
<!ELEMENT identifier (#PCDATA)>
165
<!ELEMENT abstract (#PCDATA)>
166
<!-- Scope and purpose of the research project -->
167
<!ELEMENT objectives (paragraph+)>
168
<!-- Grant and contract numbers, names and addresses of funding sources -->
169
<!ELEMENT funding (paragraph+)>
170
<!-- Site description -->
171
<!ELEMENT siteDescription (paragraph*, siteType?, geography?, habitat?, geology?, 
172
          hydrology?, history?, climate?)>
173
<!-- Site type - description, e.g., short-grass prairie, blackwater stream, etc. -->
174
<!ELEMENT siteType (paragraph+)>
175
<!-- Location and size -->
176
<!ELEMENT geography (geographicCov*, paragraph*, citation*)>
177
<!-- Detailed characteristics of habitat sampled -->
178
<!ELEMENT habitat (paragraph*, citation*)>
179
<!-- Geology and Landform -->
180
<!ELEMENT geology (paragraph*, citation*)>
181
<!-- Hydrology -->
182
<!ELEMENT hydrology (paragraph*, citation*)>
183
<!-- Site history -->
184
<!ELEMENT history (paragraph*, citation*)>
185
<!-- Site climatic characteristics -->
186
<!ELEMENT climate (paragraph*, citation*)>
187
<!-- Experimental or Sampling design -->
188
<!ELEMENT designDescription (protocol*, sampling*, paragraph*, citation*)>
189

  
190

  
191
<!-- Information necessary to understand temporal sampling regime -->
192
<!ELEMENT sampling (temporalCov*, frequency?, paragraph*, citation*)>
193
<!-- Frequency or period of data collection -->
194
<!ELEMENT frequency (#PCDATA)>
195
<!-- Project Personell -->
196
<!ELEMENT staff ((individualName|organizationName|positionName),
197
                             address*, phone*, electronicMailAddress*, 
198
                             onlineLink*, role+)>
199
<!-- End of file -->
200 0

  
lib/dtd/eml-project-2.0.0.beta6e.dtd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!ELEMENT begdate (#PCDATA)>
3
<!ELEMENT beggeol (geolage)>
4
<!ELEMENT begtime (#PCDATA)>
5
<!ELEMENT citeinfo ANY>
6
<!ELEMENT coverage (geographicCov, temporalCov, taxonomicCov)>
7
<!ELEMENT enddate (#PCDATA)>
8
<!ELEMENT endgeol (geolage)>
9
<!ELEMENT endtime (#PCDATA)>
10
<!ELEMENT geographicCov (descgeog, bounding, dsgpoly*)>
11
<!ELEMENT geolage (geolscal, geolest, geolun?, geolexpl?, geolcit*)>
12
<!ELEMENT gring (#PCDATA)>
13
<!ELEMENT grngpoin (gringlat, gringlon)>
14
<!ELEMENT mdattim (sngdate+)>
15
<!ELEMENT rngdates ((begdate, begtime?, enddate, endtime?) | (beggeol, endgeol))>
16
<!ELEMENT sngdate ((caldate, time?) | geolage)>
17
<!ELEMENT taxoncl (taxonrn?, taxonrv?, common*, taxoncl*)>
18
<!ELEMENT taxonomicCov (keywtax+, taxonsys?, taxongen?, taxoncl+)>
19
<!ELEMENT temporalCov (sngdate | mdattim | rngdates)>
20
<!ELEMENT citation ((identifier+, shortName?, title+, originator+, pubDate?, pubPlace?, series?, abstract?, keywordSet*, additionalInfo*, rights*, (onlineURL | offlineMedium)*, triple*), (ISBN?, ISSN?, (article | book | chapter | manuscript | report | thesis)))>
21
<!ELEMENT designDescription (protocol*, sampling*, paragraph*, citation*)>
22
<!ELEMENT eml-project (identifier+, researchProject+)>
23
<!ELEMENT researchProject (title+, personnel+, temporalCov*, geographicCov*, abstract?, funding?, siteDescription*, designDescription*, researchProject*)>
24
<!ELEMENT siteDescription (paragraph*, citation*)>
25
<!ELEMENT eml-protocol (identifier+, protocol+)>
26
<!ELEMENT paragraph (#PCDATA)>
27
<!ELEMENT protocol (method*, processingStep*, qualityControl*)>
28
<!ELEMENT descgeog (#PCDATA)>
29
<!ELEMENT bounding (westbc, eastbc, northbc, southbc, boundalt?)>
30
<!ELEMENT dsgpoly (dsgpolyo, dsgpolyx*)>
31
<!ELEMENT geolscal (#PCDATA)>
32
<!ELEMENT geolest (#PCDATA)>
33
<!ELEMENT geolun (#PCDATA)>
34
<!ELEMENT geolexpl (#PCDATA)>
35
<!ELEMENT geolcit (citeinfo)>
36
<!ELEMENT gringlat (#PCDATA)>
37
<!ELEMENT gringlon (#PCDATA)>
38
<!ELEMENT caldate (#PCDATA)>
39
<!ELEMENT time (#PCDATA)>
40
<!ELEMENT taxonrn (#PCDATA)>
41
<!ELEMENT taxonrv (#PCDATA)>
42
<!ELEMENT common (#PCDATA)>
43
<!ELEMENT keywtax (taxonkt, taxonkey+)>
44
<!ELEMENT taxonsys (classsys+, idref*, ider+, taxonpro, taxoncom?, vouchers*)>
45
<!ELEMENT taxongen (#PCDATA)>
46
<!ELEMENT identifier (#PCDATA)>
47
<!ATTLIST identifier system CDATA #IMPLIED>
48
<!ELEMENT shortName (#PCDATA)>
49
<!ELEMENT title (#PCDATA)>
50
<!ELEMENT originator ((individualName | organizationName | positionName), address*, phone*, electronicMailAddress*, onlineLink*, role+)>
51
<!ELEMENT pubDate (#PCDATA)>
52
<!ELEMENT pubPlace (#PCDATA)>
53
<!ELEMENT series (#PCDATA)>
54
<!ELEMENT abstract (paragraph+)>
55
<!ELEMENT keywordSet (keyword+, keywordThesaurus*)>
56
<!ELEMENT additionalInfo (paragraph+)>
57
<!ELEMENT rights (paragraph+)>
58
<!ELEMENT onlineURL (#PCDATA)>
59
<!ELEMENT offlineMedium (medName?, medDensity?, medDensityUnits?, medVol?, medFormat*, medNote?)>
60
<!ELEMENT triple (subject, relationship, object)>
61
<!ELEMENT ISBN (#PCDATA)>
62
<!ELEMENT ISSN (#PCDATA)>
63
<!ELEMENT article (journal, volume, issue?, pageRange)>
64
<!ELEMENT book (edition?, totalPages?, totalFigures?, totalTables?, volume?)>
65
<!ELEMENT chapter (chapterNumber?, bookEditor, bookTitle, publisher, pageRange?, edition?, volume?)>
66
<!ELEMENT manuscript (pubInfo, Location)>
67
<!ELEMENT report (institution, reportNumber)>
68
<!ELEMENT thesis (degree, pubInfo, totalPages, degreeInstitution)>
69
<!ELEMENT sampling (temporalCov*, frequency?, paragraph*, citation*)>
70

  
71
<!ELEMENT personnel ((individualName | organizationName | positionName), address*, phone*, electronicMailAddress*, onlineLink*, role+)>
72
<!ELEMENT funding (paragraph+)>
73
<!ELEMENT method (paragraph*, citation*)>
74
<!ELEMENT processingStep (paragraph*, citation*)>
75
<!ELEMENT qualityControl (paragraph*, citation*)>
76
<!ELEMENT westbc (#PCDATA)>
77
<!ELEMENT eastbc (#PCDATA)>
78
<!ELEMENT northbc (#PCDATA)>
79
<!ELEMENT southbc (#PCDATA)>
80
<!ELEMENT boundalt (altmin, almax, altunits)>
81
<!ELEMENT dsgpolyo ((grngpoin, grngpoin, grngpoin, grngpoin+) | gring)>
82
<!ELEMENT dsgpolyx ((grngpoin, grngpoin, grngpoin, grngpoin+) | gring)>
83
<!ELEMENT taxonkt (#PCDATA)>
84
<!ELEMENT taxonkey (#PCDATA)>
85
<!ELEMENT classsys (classcit, classmod?)>
86
<!ELEMENT idref (citeinfo)>
87
<!ELEMENT ider (cntinfo)>
88
<!ELEMENT taxonpro (#PCDATA)>
89
<!ELEMENT taxoncom (#PCDATA)>
90
<!ELEMENT vouchers (specimen, reposit)>
91
<!ELEMENT individualName (salutation*, givenName*, surName)>
92
<!ELEMENT organizationName (#PCDATA)>
93
<!ELEMENT positionName (#PCDATA)>
94
<!ELEMENT address (deliveryPoint*, city?, administrativeArea?, postalCode?, country?)>
95
<!ELEMENT phone (#PCDATA)>
96
<!ATTLIST phone phonetype CDATA #IMPLIED>
97
<!ELEMENT electronicMailAddress (#PCDATA)>
98
<!ELEMENT onlineLink (#PCDATA)>
99
<!ELEMENT role (#PCDATA)>
100
<!ELEMENT keyword (#PCDATA)>
101
<!ATTLIST keyword keywordType (place | stratum | temporal | theme) #IMPLIED>
102
<!ELEMENT keywordThesaurus (#PCDATA)>
103
<!ELEMENT medName (#PCDATA)>
104
<!ELEMENT medDensity (#PCDATA)>
105
<!ELEMENT medDensityUnits (#PCDATA)>
106
<!ELEMENT medVol (#PCDATA)>
107
<!ELEMENT medFormat (#PCDATA)>
108
<!ELEMENT medNote (#PCDATA)>
109
<!ELEMENT subject (#PCDATA)>
110
<!ELEMENT relationship (#PCDATA)>
111
<!ELEMENT object (#PCDATA)>
112
<!ELEMENT journal (#PCDATA)>
113
<!ELEMENT volume (#PCDATA)>
114
<!ELEMENT issue (#PCDATA)>
115
<!ELEMENT pageRange (#PCDATA)>
116
<!ELEMENT edition (#PCDATA)>
117
<!ELEMENT totalPages (#PCDATA)>
118
<!ELEMENT totalFigures (#PCDATA)>
119
<!ELEMENT totalTables (#PCDATA)>
120
<!ELEMENT chapterNumber (#PCDATA)>
121
<!ELEMENT bookEditor (#PCDATA)>
122
<!ELEMENT bookTitle (#PCDATA)>
123
<!ELEMENT publisher (#PCDATA)>
124
<!ELEMENT pubInfo ((individualName | organizationName | positionName), address*, phone*, electronicMailAddress*, onlineLink*, role+)>
125
<!ELEMENT Location (#PCDATA)>
126
<!ELEMENT institution ((individualName | organizationName | positionName), address*, phone*, electronicMailAddress*, onlineLink*, role+)>
127
<!ELEMENT reportNumber (#PCDATA)>
128
<!ELEMENT degree (#PCDATA)>
129
<!ELEMENT degreeInstitution (#PCDATA)>
130
<!ELEMENT frequency (#PCDATA)>
131
<!ELEMENT altmin (#PCDATA)>
132
<!ELEMENT almax (#PCDATA)>
133
<!ELEMENT altunits (#PCDATA)>
134
<!ELEMENT classcit (citeinfo)>
135
<!ELEMENT classmod (#PCDATA)>
136
<!ELEMENT cntinfo ANY>
137
<!ELEMENT specimen (#PCDATA)>
138
<!ELEMENT reposit (cntinfo)>
139
<!ELEMENT salutation (#PCDATA)>
140
<!ELEMENT givenName (#PCDATA)>
141
<!ELEMENT surName (#PCDATA)>
142
<!ELEMENT deliveryPoint (#PCDATA)>
143
<!ELEMENT city (#PCDATA)>
144
<!ELEMENT administrativeArea (#PCDATA)>
145
<!ELEMENT postalCode (#PCDATA)>
146
<!ELEMENT country (#PCDATA)>
147 0

  
lib/dtd/eml-documentation-2.0.0.beta6e.dtd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- edited with XML Spy v4.2 U (http://www.xmlspy.com) by Jim Jones (NCEAS) -->
3
<!--DTD generated by XML Spy v4.2 U (http://www.xmlspy.com)-->
4
<!ELEMENT description (#PCDATA)>
5
<!ELEMENT example (#PCDATA)>
6
<!ELEMENT lineage (#PCDATA)>
7
<!ELEMENT moduleDescription (#PCDATA)>
8
<!ELEMENT moduleName (#PCDATA)>
9
<!ELEMENT summary (#PCDATA)>
10 0

  
lib/dtd/eml-entity-2.0.0.beta4e.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

  
29

  
30
<!ELEMENT table-entity (identifier+, entityName, entityDescription?,
31
                       temporalCov*, geographicCov*, taxonomicCov*, 
32
                        orientation?, caseSensitive?, numberOfRecords?)>
33

  
34
<!-- <!ELEMENT other-entity (%EntityBase;, entityType)>  
35
ELEMENT commented out due to inability of DTD parser to handle multiple root nodes
36
-->
37

  
38
<!-- fields for EntityBase -->
39
<!ELEMENT identifier (#PCDATA)>
40

  
41
<!ELEMENT entityName (#PCDATA) >
42
<!ELEMENT entityDescription (#PCDATA) >
43

  
44
<!-- fields for table-entity -->
45
<!ELEMENT orientation EMPTY >
46
<!ATTLIST orientation columnorrow (columnmajor|rowmajor) #REQUIRED>
47
<!ELEMENT caseSensitive EMPTY >
48
<!ATTLIST caseSensitive yesorno (no|yes) #REQUIRED>
49
<!ELEMENT numberOfRecords (#PCDATA)>
50

  
51
<!-- fields for other-entity 
52
<!ELEMENT entityType (#PCDATA)>   
53
-->
54

  
55
<!ELEMENT geographicCov (descgeog, bounding, dsgpoly*)>
56
<!ELEMENT temporalCov (sngdate | mdattim | rngdates)>
57
<!ELEMENT taxonomicCov (keywtax+, taxonsys?, taxongen?, taxoncl)>
58
<!ELEMENT begdate (#PCDATA)>
59
<!ELEMENT beggeol (geolage)>
60
<!ELEMENT begtime (#PCDATA)>
61
<!ELEMENT citeinfo (#PCDATA)>
62
<!ELEMENT enddate (#PCDATA)>
63
<!ELEMENT endgeol (geolage)>
64
<!ELEMENT endtime (#PCDATA)>
65
<!ELEMENT geolage (geolscal, geolest, geolun?, geolexpl?, geolcit*)>
66
<!ELEMENT gring (#PCDATA)>
67
<!ELEMENT grngpoin (gringlat, gringlon)>
68
<!ELEMENT mdattim (sngdate+)>
69
<!ELEMENT rngdates ((begdate, begtime?, enddate, endtime?) | (beggeol, endgeol))>
70
<!ELEMENT sngdate ((caldate, time?) | geolage)>
71
<!ELEMENT taxoncl (taxonrn?, taxonrv?, common*, taxoncl*)>
72
<!ELEMENT descgeog (#PCDATA)>
73
<!ELEMENT bounding (westbc, eastbc, northbc, southbc, boundalt?)>
74
<!ELEMENT dsgpoly (dsgpolyo, dsgpolyx*)>
75
<!ELEMENT geolscal (#PCDATA)>
76
<!ELEMENT geolest (#PCDATA)>
77
<!ELEMENT geolun (#PCDATA)>
78
<!ELEMENT geolexpl (#PCDATA)>
79
<!ELEMENT geolcit (citeinfo)>
80
<!ELEMENT gringlat (#PCDATA)>
81
<!ELEMENT gringlon (#PCDATA)>
82
<!ELEMENT caldate (#PCDATA)>
83
<!ELEMENT time (#PCDATA)>
84
<!ELEMENT taxonrn (#PCDATA)>
85
<!ELEMENT taxonrv (#PCDATA)>
86
<!ELEMENT common (#PCDATA)>
87
<!ELEMENT keywtax (taxonkt, taxonkey+)>
88
<!ELEMENT taxonsys (classsys+, idref*, ider+, taxonpro, taxoncom?, vouchers*)>
89
<!ELEMENT taxongen (#PCDATA)>
90
<!ELEMENT westbc (#PCDATA)>
91
<!ELEMENT eastbc (#PCDATA)>
92
<!ELEMENT northbc (#PCDATA)>
93
<!ELEMENT southbc (#PCDATA)>
94
<!ELEMENT boundalt (altmin, almax, altunits)>
95
<!ELEMENT dsgpolyo (grngpoin+ | gring)>
96
<!ELEMENT dsgpolyx (grngpoin+ | gring)>
97
<!ELEMENT taxonkt (#PCDATA)>
98
<!ELEMENT taxonkey (#PCDATA)>
99
<!ELEMENT classsys (classcit, classmod?)>
100
<!ELEMENT idref (citeinfo)>
101
<!ELEMENT ider (cntinfo)>
102
<!ELEMENT taxonpro (#PCDATA)>
103
<!ELEMENT taxoncom (#PCDATA)>
104
<!ELEMENT vouchers (specimen, reposit)>
105
<!ELEMENT altmin (#PCDATA)>
106
<!ELEMENT almax (#PCDATA)>
107
<!ELEMENT altunits (#PCDATA)>
108
<!ELEMENT classcit (citeinfo)>
109
<!ELEMENT classmod (#PCDATA)>
110
<!ELEMENT cntinfo (#PCDATA)>
111
<!ELEMENT specimen (#PCDATA)>
112
<!ELEMENT reposit (cntinfo)>
113

  
114
<!-- End of file -->
115 0

  
lib/dtd/eml-physical-2.0.0.beta4e.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
<!-- End of file -->
140 0

  
lib/dtd/eml-entity-2.0.0.beta6e.dtd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!ELEMENT begdate (#PCDATA)>
3
<!ELEMENT beggeol (geolage)>
4
<!ELEMENT begtime (#PCDATA)>
5
<!ELEMENT citeinfo ANY>
6
<!ELEMENT coverage (geographicCov, temporalCov, taxonomicCov)>
7
<!ELEMENT enddate (#PCDATA)>
8
<!ELEMENT endgeol (geolage)>
9
<!ELEMENT endtime (#PCDATA)>
10
<!ELEMENT geographicCov (descgeog, bounding, dsgpoly*)>
11
<!ELEMENT geolage (geolscal, geolest, geolun?, geolexpl?, geolcit*)>
12
<!ELEMENT gring (#PCDATA)>
13
<!ELEMENT grngpoin (gringlat, gringlon)>
14
<!ELEMENT mdattim (sngdate+)>
15
<!ELEMENT rngdates ((begdate, begtime?, enddate, endtime?) | (beggeol, endgeol))>
16
<!ELEMENT sngdate ((caldate, time?) | geolage)>
17
<!ELEMENT taxoncl (taxonrn?, taxonrv?, common*, taxoncl*)>
18
<!ELEMENT taxonomicCov (keywtax+, taxonsys?, taxongen?, taxoncl+)>
19
<!ELEMENT temporalCov (sngdate | mdattim | rngdates)>
20
<!ELEMENT other-entity ((identifier+, entityName, entityDescription?, temporalCov?, geographicCov?, taxonomicCov?), (entityType))>
21
<!ELEMENT table-entity ((identifier+, entityName, entityDescription?, temporalCov?, geographicCov?, taxonomicCov?), (orientation?, caseSensitive?, numberOfRecords?))>
22
<!ELEMENT descgeog (#PCDATA)>
23
<!ELEMENT bounding (westbc, eastbc, northbc, southbc, boundalt?)>
24
<!ELEMENT dsgpoly (dsgpolyo, dsgpolyx*)>
25
<!ELEMENT geolscal (#PCDATA)>
26
<!ELEMENT geolest (#PCDATA)>
27
<!ELEMENT geolun (#PCDATA)>
28
<!ELEMENT geolexpl (#PCDATA)>
29
<!ELEMENT geolcit (citeinfo)>
30
<!ELEMENT gringlat (#PCDATA)>
31
<!ELEMENT gringlon (#PCDATA)>
32
<!ELEMENT caldate (#PCDATA)>
33
<!ELEMENT time (#PCDATA)>
34
<!ELEMENT taxonrn (#PCDATA)>
35
<!ELEMENT taxonrv (#PCDATA)>
36
<!ELEMENT common (#PCDATA)>
37
<!ELEMENT keywtax (taxonkt, taxonkey+)>
38
<!ELEMENT taxonsys (classsys+, idref*, ider+, taxonpro, taxoncom?, vouchers*)>
39
<!ELEMENT taxongen (#PCDATA)>
40
<!ELEMENT identifier (#PCDATA)>
41
<!ATTLIST identifier system CDATA #IMPLIED>
42
<!ELEMENT entityName (#PCDATA)>
43
<!ELEMENT entityDescription (#PCDATA)>
44
<!ELEMENT entityType (#PCDATA)>
45
<!ELEMENT orientation EMPTY>
46
<!ATTLIST orientation columnorrow (columnmajor | rowmajor) #IMPLIED>
47
<!ELEMENT caseSensitive EMPTY>
48
<!ATTLIST caseSensitive yesorno (yes | no) #IMPLIED>
49
<!ELEMENT numberOfRecords (#PCDATA)>
50
<!ELEMENT westbc (#PCDATA)>
51
<!ELEMENT eastbc (#PCDATA)>
52
<!ELEMENT northbc (#PCDATA)>
53
<!ELEMENT southbc (#PCDATA)>
54
<!ELEMENT boundalt (altmin, almax, altunits)>
55
<!ELEMENT dsgpolyo ((grngpoin, grngpoin, grngpoin, grngpoin+) | gring)>
56
<!ELEMENT dsgpolyx ((grngpoin, grngpoin, grngpoin, grngpoin+) | gring)>
57
<!ELEMENT taxonkt (#PCDATA)>
58
<!ELEMENT taxonkey (#PCDATA)>
59
<!ELEMENT classsys (classcit, classmod?)>
60
<!ELEMENT idref (citeinfo)>
61
<!ELEMENT ider (cntinfo)>
62
<!ELEMENT taxonpro (#PCDATA)>
63
<!ELEMENT taxoncom (#PCDATA)>
64
<!ELEMENT vouchers (specimen, reposit)>
65
<!ELEMENT altmin (#PCDATA)>
66
<!ELEMENT almax (#PCDATA)>
67
<!ELEMENT altunits (#PCDATA)>
68
<!ELEMENT classcit (citeinfo)>
69
<!ELEMENT classmod (#PCDATA)>
70
<!ELEMENT cntinfo ANY>
71
<!ELEMENT specimen (#PCDATA)>
72
<!ELEMENT reposit (cntinfo)>
73 0

  
lib/dtd/eml-physical-2.0.0.beta6e.dtd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!ELEMENT eml-physical (identifier+, format, characterEncoding?, size?, authentication*, compressionMethod?, encodingMethod?, numHeaderLines?, recordDelimiter?, maxRecordLength?, quoteCharacter*, literalCharacter*, (fieldStartColumn?, (fieldWidth | fieldDelimiter))*)>
3
<!ELEMENT identifier (#PCDATA)>
4
<!ATTLIST identifier system CDATA #IMPLIED>
5
<!ELEMENT format (#PCDATA)>
6
<!ELEMENT characterEncoding (#PCDATA)>
7
<!ELEMENT size (#PCDATA)>
8
<!ATTLIST size unit CDATA #REQUIRED>
9
<!ELEMENT authentication (#PCDATA)>
10
<!ATTLIST authentication method CDATA #IMPLIED>
11
<!ELEMENT compressionMethod (#PCDATA)>
12
<!ELEMENT encodingMethod (#PCDATA)>
13
<!ELEMENT numHeaderLines (#PCDATA)>
14
<!ELEMENT recordDelimiter (#PCDATA)>
15
<!ELEMENT maxRecordLength (#PCDATA)>
16
<!ELEMENT quoteCharacter (#PCDATA)>
17
<!ELEMENT literalCharacter (#PCDATA)>
18
<!ELEMENT fieldStartColumn (#PCDATA)>
19
<!ELEMENT fieldWidth (#PCDATA)>
20
<!ELEMENT fieldDelimiter (#PCDATA)>
21 0

  
lib/dtd/eml-distribution-2.0.0.beta4e.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 -->
85 0

  
lib/dtd/eml-literature-2.0.0.beta4e.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 individualName (salutation*, givenName*, surName)>
27
<!ELEMENT salutation (#PCDATA)>
28
<!ELEMENT givenName (#PCDATA)>
29
<!ELEMENT surName (#PCDATA)>
30

  
31
<!ELEMENT organizationName (#PCDATA)>
32
<!ELEMENT positionName (#PCDATA)>
33

  
34
<!ELEMENT address (deliveryPoint*, city?, administrativeArea?, 
35
                   postalCode?, country?)>
36
<!ELEMENT deliveryPoint (#PCDATA)>
37
<!ELEMENT city (#PCDATA)>
38
<!ELEMENT administrativeArea (#PCDATA)>
39
<!ELEMENT postalCode (#PCDATA)>
40
<!ELEMENT country (#PCDATA)>
41

  
42
<!ELEMENT phone (#PCDATA)>
43
<!ATTLIST phone phonetype CDATA "voice">
44
<!ELEMENT electronicMailAddress (#PCDATA)>
45
<!ELEMENT onlineLink (#PCDATA)>
46

  
47
<!-- Note that the domain for role is not expressed in the DTD -->
48
<!ELEMENT role (#PCDATA)>
49

  
50

  
51
<!-- entity to conglomerate these fields into one name -->
52
<!ELEMENT role (#PCDATA)>
53

  
54
<!-- common fields -->
55
<!ELEMENT identifier (#PCDATA)>
56
<!ATTLIST identifier system CDATA "">
57
<!ELEMENT shortName (#PCDATA)>
58
<!ELEMENT title (#PCDATA)>
59
<!ELEMENT originator ((individualName|organizationName|positionName)+,
60
                             address*, phone*, electronicMailAddress*, 
61
                             onlineLink*, role+)>
62
<!ELEMENT pubdate (#PCDATA)>
63
<!ELEMENT pubplace (#PCDATA)>
64
<!ELEMENT series (#PCDATA)>
65
<!ELEMENT abstract (paragraph+)>
66
<!ELEMENT keywordSet (keyword+, keywordThesaurus*)>
67
<!ELEMENT keyword (#PCDATA)>
68
<!ATTLIST keyword keywordType CDATA "">
69
<!ELEMENT keywordThesaurus (#PCDATA)>
70
<!ELEMENT additionalInfo (paragraph+)>
71
<!ELEMENT paragraph (#PCDATA)>
72
<!ELEMENT rights (paragraph+)>
73
<!ELEMENT triple (subject, relationship, object)>
74
<!ELEMENT subject (#PCDATA)>
75
<!ELEMENT relationship (#PCDATA)>
76
<!ELEMENT object (#PCDATA)>
77

  
78

  
79
<!-- The literature branch -->
80
<!ELEMENT citation (identifier+, shortName?, title+,
81
                     originator+, pubdate?, pubplace?, series?, abstract?, 
82
                     keywordSet*, additionalInfo?, rights*, triple*,
83
 ISBN?, ISSN?, (article | book | chapter | manuscript | report | thesis))>
84
<!ELEMENT ISBN (#PCDATA)>
85
<!ELEMENT ISSN (#PCDATA)>
86
<!ELEMENT article (jounal, volume, issue?, pageRange)>
87
<!ELEMENT book (edition?, totalPages?, totalFigures?, totalTables?, volume?)>
88
<!ELEMENT chapter (chapterNumber?, bookEditor, bookTitle, publisher, pageRange?, edition?, volume?)>
89
<!ELEMENT manuscript (pubInfo, Location)>
90
<!ELEMENT report (institution, reportNumber)>
91
<!ELEMENT thesis (degree, pubInfo, totalPages, degreeInstitution)>
92
<!ELEMENT jounal (#PCDATA)>
93
<!ELEMENT volume (#PCDATA)>
94
<!ELEMENT issue (#PCDATA)>
95
<!ELEMENT pageRange (#PCDATA)>
96
<!ELEMENT edition (#PCDATA)>
97
<!ELEMENT totalPages (#PCDATA)>
98
<!ELEMENT totalFigures (#PCDATA)>
99
<!ELEMENT totalTables (#PCDATA)>
100
<!ELEMENT chapterNumber (#PCDATA)>
101
<!ELEMENT bookEditor (#PCDATA)>
102
<!ELEMENT bookTitle (#PCDATA)>
103
<!ELEMENT publisher (#PCDATA)>
104
<!ELEMENT pubInfo ((individualName|organizationName|positionName)+,
105
                             address*, phone*, electronicMailAddress*, 
106
                             onlineLink*, role+)>
107
<!ELEMENT Location (#PCDATA)>
108
<!ELEMENT institution ((individualName|organizationName|positionName)+,
109
                             address*, phone*, electronicMailAddress*, 
110
                             onlineLink*, role+)>
111
<!ELEMENT reportNumber (#PCDATA)>
112
<!ELEMENT degree (#PCDATA)>
113
<!ELEMENT degreeInstitution (#PCDATA)>
114
<!-- EOF -->
115 0

  
lib/dtd/eml-literature-2.0.0.beta6e.dtd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!ELEMENT citation ((identifier+, shortName?, title+, originator+, pubDate?, pubPlace?, series?, abstract?, keywordSet*, additionalInfo*, rights*, (onlineURL | offlineMedium)*, triple*), (ISBN?, ISSN?, (article | book | chapter | manuscript | report | thesis)))>
3
<!ELEMENT identifier (#PCDATA)>
4
<!ATTLIST identifier system CDATA #IMPLIED>
5
<!ELEMENT shortName (#PCDATA)>
6
<!ELEMENT title (#PCDATA)>
7
<!ELEMENT originator ((individualName | organizationName | positionName), address*, phone*, electronicMailAddress*, onlineLink*, role+)>
8
<!ELEMENT pubDate (#PCDATA)>
9
<!ELEMENT pubPlace (#PCDATA)>
10
<!ELEMENT series (#PCDATA)>
11
<!ELEMENT abstract (paragraph+)>
12
<!ELEMENT keywordSet (keyword+, keywordThesaurus*)>
13
<!ELEMENT additionalInfo (paragraph+)>
14
<!ELEMENT rights (paragraph+)>
15
<!ELEMENT onlineURL (#PCDATA)>
16
<!ELEMENT offlineMedium (medName?, medDensity?, medDensityUnits?, medVol?, medFormat*, medNote?)>
17
<!ELEMENT triple (subject, relationship, object)>
18
<!ELEMENT ISBN (#PCDATA)>
19
<!ELEMENT ISSN (#PCDATA)>
20
<!ELEMENT article (journal, volume, issue?, pageRange)>
21
<!ELEMENT book (edition?, totalPages?, totalFigures?, totalTables?, volume?)>
22
<!ELEMENT chapter (chapterNumber?, bookEditor, bookTitle, publisher, pageRange?, edition?, volume?)>
23
<!ELEMENT manuscript (pubInfo, Location)>
24
<!ELEMENT report (institution, reportNumber)>
25
<!ELEMENT thesis (degree, pubInfo, totalPages, degreeInstitution)>
26
<!ELEMENT individualName (salutation*, givenName*, surName)>
27
<!ELEMENT organizationName (#PCDATA)>
28
<!ELEMENT positionName (#PCDATA)>
29
<!ELEMENT address (deliveryPoint*, city?, administrativeArea?, postalCode?, country?)>
30
<!ELEMENT phone (#PCDATA)>
31
<!ATTLIST phone phonetype CDATA #IMPLIED>
32
<!ELEMENT electronicMailAddress (#PCDATA)>
33
<!ELEMENT onlineLink (#PCDATA)>
34
<!ELEMENT role (#PCDATA)>
35
<!ELEMENT paragraph (#PCDATA)>
36
<!ELEMENT keyword (#PCDATA)>
37
<!ATTLIST keyword keywordType (place | stratum | temporal | theme) #IMPLIED>
38
<!ELEMENT keywordThesaurus (#PCDATA)>
39
<!ELEMENT medName (#PCDATA)>
40
<!ELEMENT medDensity (#PCDATA)>
41
<!ELEMENT medDensityUnits (#PCDATA)>
42
<!ELEMENT medVol (#PCDATA)>
43
<!ELEMENT medFormat (#PCDATA)>
44
<!ELEMENT medNote (#PCDATA)>
45
<!ELEMENT subject (#PCDATA)>
46
<!ELEMENT relationship (#PCDATA)>
47
<!ELEMENT object (#PCDATA)>
48
<!ELEMENT journal (#PCDATA)>
49
<!ELEMENT volume (#PCDATA)>
50
<!ELEMENT issue (#PCDATA)>
51
<!ELEMENT pageRange (#PCDATA)>
52
<!ELEMENT edition (#PCDATA)>
53
<!ELEMENT totalPages (#PCDATA)>
54
<!ELEMENT totalFigures (#PCDATA)>
55
<!ELEMENT totalTables (#PCDATA)>
56
<!ELEMENT chapterNumber (#PCDATA)>
57
<!ELEMENT bookEditor (#PCDATA)>
58
<!ELEMENT bookTitle (#PCDATA)>
59
<!ELEMENT publisher (#PCDATA)>
60
<!ELEMENT pubInfo ((individualName | organizationName | positionName), address*, phone*, electronicMailAddress*, onlineLink*, role+)>
61
<!ELEMENT Location (#PCDATA)>
62
<!ELEMENT institution ((individualName | organizationName | positionName), address*, phone*, electronicMailAddress*, onlineLink*, role+)>
63
<!ELEMENT reportNumber (#PCDATA)>
64
<!ELEMENT degree (#PCDATA)>
65
<!ELEMENT degreeInstitution (#PCDATA)>
66
<!ELEMENT salutation (#PCDATA)>
67
<!ELEMENT givenName (#PCDATA)>
68
<!ELEMENT surName (#PCDATA)>
69
<!ELEMENT deliveryPoint (#PCDATA)>
70
<!ELEMENT city (#PCDATA)>
71
<!ELEMENT administrativeArea (#PCDATA)>
72
<!ELEMENT postalCode (#PCDATA)>
73 0

  
lib/dtd/eml-constraint-2.0.0.beta4e.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-constraint (identifier+, constraint+)>
27

  
28
<!ELEMENT identifier (#PCDATA)>
29
<!ATTLIST identifier system CDATA #IMPLIED>
30

  
31
<!ELEMENT constraint (constraintType, constraintName?, constraintDescription?, entityId?, key?, referencedEntityId?, referencedKey?, cardinality?, checkCondition?)>
32

  
33
<!ELEMENT constraintType (#PCDATA)>
34
<!ELEMENT constraintName (#PCDATA)>
35
<!ELEMENT constraintDescription (#PCDATA)>
36
<!ELEMENT entityId (#PCDATA)>
37
<!ELEMENT key (attributeName+)>
38
<!ELEMENT referencedEntityId (#PCDATA)>
39
<!ELEMENT referencedKey (attributeName+)>
40
<!ELEMENT cardinality (#PCDATA)>
41
<!ELEMENT checkCondition (#PCDATA)>
42
<!ELEMENT attributeName (#PCDATA)>
43

  
44 0

  
lib/dtd/eml-dataset-2.0.0.beta4e.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

  
28
<!ELEMENT individualName (salutation*, givenName*, surName)>
29
<!ELEMENT salutation (#PCDATA)>
30
<!ELEMENT givenName (#PCDATA)>
31
<!ELEMENT surName (#PCDATA)>
32

  
33
<!ELEMENT organizationName (#PCDATA)>
34
<!ELEMENT positionName (#PCDATA)>
35

  
36
<!ELEMENT address (deliveryPoint*, city?, administrativeArea?, 
37
                   postalCode?, country?)>
38
<!ELEMENT deliveryPoint (#PCDATA)>
39
<!ELEMENT city (#PCDATA)>
40
<!ELEMENT administrativeArea (#PCDATA)>
41
<!ELEMENT postalCode (#PCDATA)>
42
<!ELEMENT country (#PCDATA)>
43

  
44
<!ELEMENT phone (#PCDATA)>
45
<!ATTLIST phone phonetype CDATA "voice">
46
<!ELEMENT electronicMailAddress (#PCDATA)>
47
<!ELEMENT onlineLink (#PCDATA)>
48

  
49
<!-- Note that the domain for role is not expressed in the DTD -->
50
<!ELEMENT role (#PCDATA)>
51

  
52

  
53
<!-- common fields -->
54
<!ELEMENT identifier (#PCDATA)>
55
<!ATTLIST identifier system CDATA "">
56
<!ELEMENT shortName (#PCDATA)>
57
<!ELEMENT title (#PCDATA)>
58
<!ELEMENT originator ((individualName|organizationName|positionName)+,
59
                             address*, phone*, electronicMailAddress*, 
60
                             onlineLink*, role+)>
61
<!ELEMENT pubdate (#PCDATA)>
62
<!ELEMENT pubplace (#PCDATA)>
63
<!ELEMENT series (#PCDATA)>
64
<!ELEMENT abstract (paragraph+)>
65
<!ELEMENT keywordSet (keyword+, keywordThesaurus*)>
66
<!ELEMENT keyword (#PCDATA)>
67
<!ATTLIST keyword keywordType CDATA "">
68
<!ELEMENT keywordThesaurus (#PCDATA)>
69
<!ELEMENT additionalInfo (paragraph+)>
70
<!ELEMENT paragraph (#PCDATA)>
71
<!ELEMENT rights (paragraph+)>
72
<!ELEMENT onlineURL (#PCDATA)>
73
<!ELEMENT offlineMedium (medName?, medDensity?, medDensityUnits?, medVol?, medFormat*, medNote?)>
74
<!ELEMENT medName (#PCDATA)>
75
<!ELEMENT medDensity (#PCDATA)>
76
<!ELEMENT medDensityUnits (#PCDATA)>
77
<!ELEMENT medVol (#PCDATA)>
78
<!ELEMENT medFormat (#PCDATA)>
79
<!ELEMENT medNote (#PCDATA)>
80
<!ELEMENT triple (subject, relationship, object)>
81
<!ELEMENT subject (#PCDATA)>
82
<!ELEMENT relationship (#PCDATA)>
83
<!ELEMENT object (#PCDATA)>
84

  
85

  
86
<!ELEMENT geographicCov (descgeog, bounding, dsgpoly*)>
87
<!ELEMENT temporalCov (sngdate | mdattim | rngdates)>
88
<!ELEMENT taxonomicCov (keywtax+, taxonsys?, taxongen?, taxoncl)>
89
<!ELEMENT begdate (#PCDATA)>
90
<!ELEMENT beggeol (geolage)>
91
<!ELEMENT begtime (#PCDATA)>
92
<!ELEMENT citeinfo (#PCDATA)>
93
<!ELEMENT enddate (#PCDATA)>
94
<!ELEMENT endgeol (geolage)>
95
<!ELEMENT endtime (#PCDATA)>
96
<!ELEMENT geolage (geolscal, geolest, geolun?, geolexpl?, geolcit*)>
97
<!ELEMENT gring (#PCDATA)>
98
<!ELEMENT grngpoin (gringlat, gringlon)>
99
<!ELEMENT mdattim (sngdate+)>
100
<!ELEMENT rngdates ((begdate, begtime?, enddate, endtime?) | (beggeol, endgeol))>
101
<!ELEMENT sngdate ((caldate, time?) | geolage)>
102
<!ELEMENT taxoncl (taxonrn?, taxonrv?, common*, taxoncl*)>
103
<!ELEMENT descgeog (#PCDATA)>
104
<!ELEMENT bounding (westbc, eastbc, northbc, southbc, boundalt?)>
105
<!ELEMENT dsgpoly (dsgpolyo, dsgpolyx*)>
106
<!ELEMENT geolscal (#PCDATA)>
107
<!ELEMENT geolest (#PCDATA)>
108
<!ELEMENT geolun (#PCDATA)>
109
<!ELEMENT geolexpl (#PCDATA)>
110
<!ELEMENT geolcit (citeinfo)>
111
<!ELEMENT gringlat (#PCDATA)>
112
<!ELEMENT gringlon (#PCDATA)>
113
<!ELEMENT caldate (#PCDATA)>
114
<!ELEMENT time (#PCDATA)>
115
<!ELEMENT taxonrn (#PCDATA)>
116
<!ELEMENT taxonrv (#PCDATA)>
117
<!ELEMENT common (#PCDATA)>
118
<!ELEMENT keywtax (taxonkt, taxonkey+)>
119
<!ELEMENT taxonsys (classsys+, idref*, ider+, taxonpro, taxoncom?, vouchers*)>
120
<!ELEMENT taxongen (#PCDATA)>
121
<!ELEMENT westbc (#PCDATA)>
122
<!ELEMENT eastbc (#PCDATA)>
123
<!ELEMENT northbc (#PCDATA)>
124
<!ELEMENT southbc (#PCDATA)>
125
<!ELEMENT boundalt (altmin, almax, altunits)>
126
<!ELEMENT dsgpolyo (grngpoin+ | gring)>
127
<!ELEMENT dsgpolyx (grngpoin+ | gring)>
128
<!ELEMENT taxonkt (#PCDATA)>
129
<!ELEMENT taxonkey (#PCDATA)>
130
<!ELEMENT classsys (classcit, classmod?)>
131
<!ELEMENT idref (citeinfo)>
132
<!ELEMENT ider (cntinfo)>
133
<!ELEMENT taxonpro (#PCDATA)>
134
<!ELEMENT taxoncom (#PCDATA)>
135
<!ELEMENT vouchers (specimen, reposit)>
136
<!ELEMENT altmin (#PCDATA)>
137
<!ELEMENT almax (#PCDATA)>
138
<!ELEMENT altunits (#PCDATA)>
139
<!ELEMENT classcit (citeinfo)>
140
<!ELEMENT classmod (#PCDATA)>
141
<!ELEMENT cntinfo (#PCDATA)>
142
<!ELEMENT specimen (#PCDATA)>
143
<!ELEMENT reposit (cntinfo)>
144

  
145

  
146
<!-- The dataset branch -->
147
<!ELEMENT dataset (identifier+, shortName?, title+,
148
                     originator+, pubdate?, pubplace?, series?, abstract?, 
149
                     keywordSet*, additionalInfo?, rights*, (onlineURL | offlineMedium)*, 
150
                     triple*, temporalCov*, geographicCov*,
151
                     taxonomicCov* )>
152

  
153
<!-- EOF -->
154 0

  
lib/dtd/eml-constraint-2.0.0.beta6e.dtd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!ELEMENT eml-constraint (identifier+, constraint+)>
3
<!ELEMENT identifier (#PCDATA)>
4
<!ATTLIST identifier system CDATA #IMPLIED>
5
<!ELEMENT constraint (constraintType, constraintName?, constraintDescription?, entityId?, key?, referencedEntityId?, referencedKey?, cardinality?, checkCondition?)>
6
<!ELEMENT constraintType (#PCDATA)>
7
<!ELEMENT constraintName (#PCDATA)>
8
<!ELEMENT constraintDescription (#PCDATA)>
9
<!ELEMENT entityId (#PCDATA)>
10
<!ELEMENT key (attributeName+)>
11
<!ELEMENT referencedEntityId (#PCDATA)>
12
<!ELEMENT referencedKey (attributeName+)>
13
<!ELEMENT cardinality (#PCDATA)>
14
<!ELEMENT checkCondition (#PCDATA)>
15 0

  
lib/dtd/eml-dataset-2.0.0.beta6e.dtd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!ELEMENT begdate (#PCDATA)>
3
<!ELEMENT beggeol (geolage)>
4
<!ELEMENT begtime (#PCDATA)>
5
<!ELEMENT citeinfo ANY>
6
<!ELEMENT coverage (geographicCov, temporalCov, taxonomicCov)>
7
<!ELEMENT enddate (#PCDATA)>
8
<!ELEMENT endgeol (geolage)>
9
<!ELEMENT endtime (#PCDATA)>
10
<!ELEMENT geographicCov (descgeog, bounding, dsgpoly*)>
11
<!ELEMENT geolage (geolscal, geolest, geolun?, geolexpl?, geolcit*)>
12
<!ELEMENT gring (#PCDATA)>
13
<!ELEMENT grngpoin (gringlat, gringlon)>
14
<!ELEMENT mdattim (sngdate+)>
15
<!ELEMENT rngdates ((begdate, begtime?, enddate, endtime?) | (beggeol, endgeol))>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff