Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / schema / mathml2 / content / statistics.xsd
blobcf0f20e329fb9a670fd34542c7cab7f34ed52849
1 <?xml version="1.0" encoding="UTF-8"?>
3 <xs:schema
4 xmlns:xs="http://www.w3.org/2001/XMLSchema"
5 xmlns="http://www.w3.org/1998/Math/MathML"
6 targetNamespace="http://www.w3.org/1998/Math/MathML"
7 elementFormDefault="qualified"
10 <xs:annotation>
11 <xs:documentation>
12 This is an XML Schema module for the statistical operators of content MathML.
13 Author: St&#233;phane Dalmas, INRIA.
14 </xs:documentation>
15 </xs:annotation>
17 <!-- "mean" -->
19 <xs:attributeGroup name="mean.attlist">
20 <xs:attributeGroup ref="Definition.attrib"/>
21 <xs:attributeGroup ref="Common.attrib"/>
22 </xs:attributeGroup>
24 <xs:complexType name="mean.type">
25 <xs:attributeGroup ref="mean.attlist"/>
26 </xs:complexType>
28 <xs:element name="mean" type="mean.type"/>
30 <!-- "sdev" -->
32 <xs:attributeGroup name="sdev.attlist">
33 <xs:attributeGroup ref="Definition.attrib"/>
34 <xs:attributeGroup ref="Common.attrib"/>
35 </xs:attributeGroup>
37 <xs:complexType name="sdev.type">
38 <xs:attributeGroup ref="sdev.attlist"/>
39 </xs:complexType>
41 <xs:element name="sdev" type="sdev.type"/>
43 <!-- "variance" -->
45 <xs:attributeGroup name="variance.attlist">
46 <xs:attributeGroup ref="Definition.attrib"/>
47 <xs:attributeGroup ref="Common.attrib"/>
48 </xs:attributeGroup>
50 <xs:complexType name="variance.type">
51 <xs:attributeGroup ref="variance.attlist"/>
52 </xs:complexType>
54 <xs:element name="variance" type="variance.type"/>
56 <!-- "median" -->
58 <xs:attributeGroup name="median.attlist">
59 <xs:attributeGroup ref="Definition.attrib"/>
60 <xs:attributeGroup ref="Common.attrib"/>
61 </xs:attributeGroup>
63 <xs:complexType name="median.type">
64 <xs:attributeGroup ref="median.attlist"/>
65 </xs:complexType>
67 <xs:element name="median" type="median.type"/>
69 <!-- "mode" -->
71 <xs:attributeGroup name="mode.attlist">
72 <xs:attributeGroup ref="Definition.attrib"/>
73 <xs:attributeGroup ref="Common.attrib"/>
74 </xs:attributeGroup>
76 <xs:complexType name="mode.type">
77 <xs:attributeGroup ref="mode.attlist"/>
78 </xs:complexType>
80 <xs:element name="mode" type="mode.type"/>
82 <!-- "moment" -->
84 <xs:attributeGroup name="moment.attlist">
85 <xs:attributeGroup ref="Definition.attrib"/>
86 <xs:attributeGroup ref="Common.attrib"/>
87 </xs:attributeGroup>
89 <xs:complexType name="moment.type">
90 <xs:attributeGroup ref="moment.attlist"/>
91 </xs:complexType>
93 <xs:element name="moment" type="moment.type"/>
95 <!-- "momentabout" -->
97 <xs:attributeGroup name="momentabout.attlist">
98 <xs:attributeGroup ref="Definition.attrib"/>
99 <xs:attributeGroup ref="Common.attrib"/>
100 </xs:attributeGroup>
102 <xs:group name="momentabout.content">
103 <xs:sequence>
104 <xs:group ref="Content-expr.class"/>
105 </xs:sequence>
106 </xs:group>
108 <xs:complexType name="momentabout.type">
109 <xs:group ref="momentabout.content" minOccurs="1" maxOccurs="unbounded"/>
110 <xs:attributeGroup ref="momentabout.attlist"/>
111 </xs:complexType>
113 <xs:element name="momentabout" type="momentabout.type"/>
115 <!-- And the group of everything -->
117 <xs:group name="Content-statistics.class">
118 <xs:choice>
119 <xs:element ref="mean"/>
120 <xs:element ref="sdev"/>
121 <xs:element ref="variance"/>
122 <xs:element ref="median"/>
123 <xs:element ref="mode"/>
124 <xs:element ref="moment"/>
125 <xs:element ref="momentabout"/>
126 </xs:choice>
127 </xs:group>
130 </xs:schema>
131 <!--
132 Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
133 of Technology, Institut National de Recherche en Informatique et en
134 Automatique, Keio University). All Rights Reserved. See
135 http://www.w3.org/Consortium/Legal/.