Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / schema / mathml2 / content / functions.xsd
blob11a5768dcc2a67a00fd564f3a16217d59601b4dc
1 <xs:schema
2 xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 xmlns="http://www.w3.org/1998/Math/MathML"
4 targetNamespace="http://www.w3.org/1998/Math/MathML"
5 elementFormDefault="qualified"
9 <xs:annotation>
10 <xs:documentation>
11 This is an XML Schema module for operators dealing with functions in content
12 MathML.
13 Author: St&#233;phane Dalmas, INRIA.
14 </xs:documentation>
15 </xs:annotation>
17 <!-- a common type for all this -->
19 <xs:complexType name="Functions.type">
20 <xs:attributeGroup ref="Definition.attrib"/>
21 <xs:attributeGroup ref="Common.attrib"/>
22 </xs:complexType>
24 <!-- "compose" -->
26 <xs:element name="compose" type="Functions.type"/>
28 <!-- Domain, codomain and image -->
30 <xs:element name="domain" type="Functions.type"/>
31 <xs:element name="codomain" type="Functions.type"/>
32 <xs:element name="image" type="Functions.type"/>
34 <!-- "domainofapplication" -->
36 <xs:group name="domainofapplication.content">
37 <xs:sequence>
38 <xs:group ref="Content-expr.class"/>
39 </xs:sequence>
40 </xs:group>
42 <xs:complexType name="domainofapplication.type">
43 <xs:group ref="domainofapplication.content"/>
44 <xs:attributeGroup ref="Definition.attrib"/>
45 <xs:attributeGroup ref="Common.attrib"/>
46 </xs:complexType>
48 <xs:element name="domainofapplication" type="domainofapplication.type"/>
50 <!-- identity -->
52 <xs:element name="ident" type="Functions.type"/>
54 <!-- And the group of everything -->
56 <xs:group name="Content-functions.class">
57 <xs:choice>
58 <xs:element ref="compose"/>
59 <xs:element ref="domain"/>
60 <xs:element ref="codomain"/>
61 <xs:element ref="image"/>
62 <xs:element ref="domainofapplication"/>
63 <xs:element ref="ident"/>
64 </xs:choice>
65 </xs:group>
67 </xs:schema>
68 <!--
69 Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
70 of Technology, Institut National de Recherche en Informatique et en
71 Automatique, Keio University). All Rights Reserved. See
72 http://www.w3.org/Consortium/Legal/.
73 -->