summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rnc/omdoc/omdocphys.rnc
blob: 88c30df8169f21cba8206b0f2f96da1a622ce403 (plain)
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
# A RelaxNG schema for Open Mathematical documents (OMDoc 1.3) Module PHYS
# $Id: omdocphys.rnc 8959 2011-09-02 06:01:43Z kohlhase $
# $HeadURL: https://svn.omdoc.org/repos/omdoc/branches/omdoc-1.3/schema/rnc/omdocphys.rnc $
# See the documentation and examples at http://www.omdoc.org
# Copyright (c) 2004-2007 Michael Kohlhase, released under the GNU Public License (GPL) 

system.attribs = id.attribs & 
                           attribute type {"ideal" | "real"}
system.model = metadata.class &
			   observable* & improvement? & algebra? & realization?
system  = element system {tref|(system.attribs & system.model)}

observable.attribs = id.attribs & 
		               	attribute low {xsd:float} & 
	                        attribute high {xsd:float} 
observable.model = mobj,mobj
observable = element  observable {tref|(observable.attribs & observable.model)}

improvement.attribs = id.attribs
improvement.model = mcf.class
improvement = element improvement {tref|(improvement.attribs & improvement.model)}

realization.attribs = id.attribs
realization.model = mcf.class
realization = element realization {tref|(realization.attribs & realization.model)}

interpretation.attribs = id.attribs
interpretation.model = mcf.class
interpretation = element interpretation {tref|(interpretation.attribs & interpretation.model)}

state.attribs = id.attribs & attribute of {omdocref}
state.model = metadata.class & value*
state = element state {tref|(state.attribs & state.model)}

value.attribs = id.attribs & 
	                attribute for {omdocref} & 
                       	attribute num {xsd:float}
value.model = metadata.class
value = element value {tref|(value.attribs & value.model)}

experiment.attribs = id.attribs
experiment.model = mcf.class,state,state
experiment = element experiment {tref|(experiment.attribs & experiment.model)}

evidence.attribs = id.attribs &  attribute for {omdocref}
evidence.model = experiment*,interpretation
evidence = element evidence {tref|(evidence.attribs & evidence.model)}