summaryrefslogtreecommitdiff
path: root/schema/mathml2/content/elementary-functions.xsd
blob: b106f0d170b1a3172b34dd97cdaa4b990d982353 (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
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
<xs:schema 
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns="http://www.w3.org/1998/Math/MathML"
  targetNamespace="http://www.w3.org/1998/Math/MathML"
  elementFormDefault="qualified"
 >


<xs:annotation>
  <xs:documentation>
  This is an XML Schema module for the elementary functions in content
  MathML.
  Author: St&#233;phane Dalmas, INRIA.
  </xs:documentation>
</xs:annotation>

<!-- a common type for all this -->

<xs:complexType name="Elementary-functions.type">
  <xs:attributeGroup ref="Definition.attrib"/>
  <xs:attributeGroup ref="Common.attrib"/>
</xs:complexType>

<!-- Exp and logs -->

<xs:element name="exp" type="Elementary-functions.type"/>
<xs:element name="ln" type="Elementary-functions.type"/>
<xs:element name="log" type="Elementary-functions.type"/>

<!-- special element of the base of logarithms -->

<xs:group name="logbase.content">
  <xs:sequence>
    <xs:group ref="Content-expr.class"/>
  </xs:sequence>
</xs:group>

<xs:complexType name="logbase.type">
  <xs:group ref="logbase.content"/>
  <xs:attributeGroup ref="Common.attrib"/>
</xs:complexType>

<xs:element name="logbase" type="logbase.type"/>

<!-- Trigonometric functions -->

<xs:element name="sin" type="Elementary-functions.type"/>
<xs:element name="cos" type="Elementary-functions.type"/>
<xs:element name="tan" type="Elementary-functions.type"/>
<xs:element name="sec" type="Elementary-functions.type"/>
<xs:element name="csc" type="Elementary-functions.type"/>
<xs:element name="cot" type="Elementary-functions.type"/>

<xs:element name="arcsin" type="Elementary-functions.type"/>
<xs:element name="arccos" type="Elementary-functions.type"/>
<xs:element name="arctan" type="Elementary-functions.type"/>
<xs:element name="arccot" type="Elementary-functions.type"/>
<xs:element name="arccsc" type="Elementary-functions.type"/>
<xs:element name="arcsec" type="Elementary-functions.type"/>

<!-- Hyperbolic trigonometric functions -->

<xs:element name="sinh" type="Elementary-functions.type"/>
<xs:element name="cosh" type="Elementary-functions.type"/>
<xs:element name="tanh" type="Elementary-functions.type"/>
<xs:element name="sech" type="Elementary-functions.type"/>
<xs:element name="csch" type="Elementary-functions.type"/>
<xs:element name="coth" type="Elementary-functions.type"/>
<xs:element name="arccosh" type="Elementary-functions.type"/>
<xs:element name="arccoth" type="Elementary-functions.type"/>
<xs:element name="arccsch" type="Elementary-functions.type"/>
<xs:element name="arcsech" type="Elementary-functions.type"/>
<xs:element name="arcsinh" type="Elementary-functions.type"/>
<xs:element name="arctanh" type="Elementary-functions.type"/>

<!-- And the group of everything -->

<xs:group name="Content-elementary-functions.class">
  <xs:choice>
    <xs:element ref="exp"/>
    <xs:element ref="ln"/>
    <xs:element ref="log"/>
    <xs:element ref="logbase"/>
    <xs:element ref="sin"/>
    <xs:element ref="cos"/>
    <xs:element ref="tan"/>
    <xs:element ref="sec"/>
    <xs:element ref="csc"/>
    <xs:element ref="cot"/>
    <xs:element ref="arcsin"/>
    <xs:element ref="arccos"/>
    <xs:element ref="arctan"/>
    <xs:element ref="arcsec"/>
    <xs:element ref="arccsc"/>
    <xs:element ref="arccot"/>
    <xs:element ref="sinh"/>
    <xs:element ref="cosh"/>
    <xs:element ref="tanh"/>
    <xs:element ref="sech"/>
    <xs:element ref="csch"/>
    <xs:element ref="coth"/>
    <xs:element ref="arccosh"/>
    <xs:element ref="arccoth"/>
    <xs:element ref="arccsch"/>
    <xs:element ref="arcsech"/>
    <xs:element ref="arcsinh"/>
    <xs:element ref="arctanh"/>
  </xs:choice>
</xs:group>

</xs:schema>
<!--
  Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
  of Technology, Institut National de Recherche en Informatique et en
  Automatique, Keio University). All Rights Reserved. See
  http://www.w3.org/Consortium/Legal/.
  -->