1
|
<!--
|
2
|
'$RCSfile$'
|
3
|
Copyright: 2000 Regents of the University of California and the
|
4
|
National Center for Ecological Analysis and Synthesis
|
5
|
For Details: http://knb.ecoinformatics.org/
|
6
|
|
7
|
'$Author: jones $'
|
8
|
'$Date: 2001-10-22 09:46:55 -0700 (Mon, 22 Oct 2001) $'
|
9
|
'$Revision: 853 $'
|
10
|
|
11
|
This program is free software; you can redistribute it and/or modify
|
12
|
it under the terms of the GNU General Public License as published by
|
13
|
the Free Software Foundation; either version 2 of the License, or
|
14
|
(at your option) any later version.
|
15
|
|
16
|
This program is distributed in the hope that it will be useful,
|
17
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
18
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
19
|
GNU General Public License for more details.
|
20
|
|
21
|
You should have received a copy of the GNU General Public License
|
22
|
along with this program; if not, write to the Free Software
|
23
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
24
|
-->
|
25
|
|
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
|
|