forked from MichaelClerx/cellml-validation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cellml_1_0.dtd
143 lines (119 loc) · 3.74 KB
/
cellml_1_0.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!--
FILE : cellml_1_0.dtd
CREATED : 22 January 2001
LAST MODIFIED : 25 February 2002
AUTHOR : Warren Hedley ([email protected])
The Bioengineering Research Group
The University of Auckland
DESCRIPTION : This document contains a DTD corresponding to the syntax rules
defined in the 10 August 2001 Specification for CellML 1.0. This
specification is available at
http://www.cellml.org/public/specification/20010810/index.html
SYSTEM IDENTIFIER : http://www.cellml.org/cellml/cellml_1_0.dtd
COPYRIGHT : (2001) Bioengineering Research Group, University of Auckland.
-->
<!ENTITY % use_mathml_dtd "IGNORE">
<![%use_mathml_dtd;[
<!ENTITY % mathml-charent.module "IGNORE">
<!ENTITY % mathml_dtd_path
"'http://www.w3.org/TR/MathML2/dtd/mathml2.dtd'">
<!ENTITY % mathml_dtd PUBLIC "-//W3C//DTD MathML 2.0//EN"
%mathml_dtd_path;>
%mathml_dtd;
<!ATTLIST %cn.qname;
%MATHML.Common.attrib;
%att-type;
%att-base;
%att-definition;
%att-encoding;
cellml:units CDATA #REQUIRED
>
]]>
<!ENTITY % cellml_common_attributes "
xmlns CDATA #IMPLIED
xmlns:cellml CDATA #IMPLIED
xmlns:cmeta CDATA #IMPLIED
cmeta:id ID #IMPLIED
">
<!ELEMENT model (units | component | group | connection)*>
<!ATTLIST model
%cellml_common_attributes;
name CDATA #REQUIRED
>
<!ELEMENT component (units | variable | reaction | math)*>
<!ATTLIST component
%cellml_common_attributes;
name CDATA #REQUIRED
>
<!ELEMENT variable EMPTY>
<!ATTLIST variable
%cellml_common_attributes;
name CDATA #REQUIRED
public_interface (in|out|none) #IMPLIED
private_interface (in|out|none) #IMPLIED
units CDATA #REQUIRED
initial_value CDATA #IMPLIED
>
<!ELEMENT connection (map_components | map_variables+)>
<!ATTLIST connection
%cellml_common_attributes;
>
<!ELEMENT map_components EMPTY>
<!ATTLIST map_components
%cellml_common_attributes;
component_1 CDATA #REQUIRED
component_2 CDATA #REQUIRED
>
<!ELEMENT map_variables EMPTY>
<!ATTLIST map_variables
%cellml_common_attributes;
variable_1 CDATA #REQUIRED
variable_2 CDATA #REQUIRED
>
<!ELEMENT units (unit*)>
<!ATTLIST units
%cellml_common_attributes;
name CDATA #REQUIRED
base_units (yes|no) #IMPLIED
>
<!ELEMENT unit EMPTY>
<!ATTLIST unit
%cellml_common_attributes;
multiplier CDATA #IMPLIED
prefix CDATA #IMPLIED
units CDATA #REQUIRED
exponent CDATA #IMPLIED
offset CDATA #IMPLIED
>
<!ELEMENT group (relationship_ref | component_ref)+>
<!ATTLIST group
%cellml_common_attributes;
>
<!ELEMENT relationship_ref EMPTY>
<!ATTLIST relationship_ref
%cellml_common_attributes;
relationship CDATA #REQUIRED
>
<!ELEMENT component_ref (component_ref*)>
<!ATTLIST component_ref
%cellml_common_attributes;
component CDATA #REQUIRED
>
<!ELEMENT reaction (variable_ref+)>
<!ATTLIST reaction
%cellml_common_attributes;
reversible (yes|no) #IMPLIED
>
<!ELEMENT variable_ref (role+)>
<!ATTLIST variable_ref
%cellml_common_attributes;
variable CDATA #REQUIRED
>
<!ELEMENT role (math?)>
<!ATTLIST role
%cellml_common_attributes;
role (reactant|product|activator|catalyst|inhibitor|modifier|rate) #REQUIRED
direction (forward|backward|both) #IMPLIED
delta_variable CDATA #IMPLIED
stoichiometry CDATA #IMPLIED
>