/
mml-content-attrib.rng
118 lines (100 loc) · 2.01 KB
/
mml-content-attrib.rng
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
<?xml version="1.0" ?>
<!-- Content element set ........................................ -->
<!-- Attribute definitions -->
<!--
RELAX NG Schema on MathML 2.0
See COPYING for the status of this software.
Yutaka Furubayashi (Poka-Poka Dream Factory) <info@yupotan.sppd.ne.jp>
-->
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
<define name="mml.att-base">
<optional>
<attribute name="base">
<ref name="mml.number.datatype"/>
</attribute>
</optional>
</define>
<define name="mml.att-closure">
<optional>
<attribute name="closure">
<choice>
<value>open</value>
<value>closed</value>
<value>open-closed</value>
<value>closed-open</value>
</choice>
</attribute>
</optional>
</define>
<define name="mml.att-definition">
<optional>
<attribute name="definitionURL">
<ref name="mml.uri.datatype"/>
</attribute>
</optional>
</define>
<define name="mml.att-encoding">
<optional>
<attribute name="encoding">
<text/>
</attribute>
</optional>
</define>
<define name="mml.att-nargs">
<optional>
<attribute name="nargs">
<choice>
<value>nary</value>
<ref name="mml.number.datatype"/>
</choice>
</attribute>
</optional>
</define>
<define name="mml.att-occurrence">
<optional>
<attribute name="occurrence">
<choice>
<value>prefix</value>
<value>infix</value>
<value>function-model</value>
</choice>
</attribute>
</optional>
</define>
<define name="mml.att-order">
<optional>
<attribute name="order">
<choice>
<value>lexicographic</value>
<value>numeric</value>
</choice>
</attribute>
</optional>
</define>
<define name="mml.att-scope">
<optional>
<attribute name="scope">
<choice>
<value>local</value>
<value>global</value>
</choice>
</attribute>
</optional>
</define>
<define name="mml.att-type">
<optional>
<attribute name="type">
<choice>
<value>e-notation</value>
<value>integer</value>
<value>rational</value>
<value>real</value>
<value>float</value>
<value>complex-polar</value>
<value>complex-cartesian</value>
<value>constant</value>
</choice>
</attribute>
</optional>
</define>
</grammar>