~ubuntu-branches/ubuntu/wily/opencollada/wily-proposed

« back to all changes in this revision

Viewing changes to xsd2cppsax/mathml2/content/tokens.xsd

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2015-05-14 17:23:27 UTC
  • Revision ID: package-import@ubuntu.com-20150514172327-f862u8envms01fra
Tags: upstream-0.1.0~20140703.ddf8f47+dfsg1
ImportĀ upstreamĀ versionĀ 0.1.0~20140703.ddf8f47+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
 
 
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"
 
8
 >
 
9
 
 
10
<xs:annotation>
 
11
  <xs:documentation>
 
12
  This is the XML schema module for the token elements of the 
 
13
  content part of MathML.
 
14
  Author: St&#233;phane Dalmas, INRIA.
 
15
  </xs:documentation>
 
16
</xs:annotation>
 
17
 
 
18
<!-- common content for the token elements -->
 
19
 
 
20
<xs:group name="Content-token.content">
 
21
  <xs:sequence>
 
22
    <xs:group ref="Presentation-expr.class"/>
 
23
  </xs:sequence>
 
24
</xs:group>
 
25
 
 
26
<!-- "cn" -->
 
27
 
 
28
<xs:attributeGroup name="cn.attlist">
 
29
  <xs:attribute name="base">
 
30
    <xs:simpleType>
 
31
      <xs:restriction base="xs:positiveInteger">
 
32
         <xs:minInclusive value="2"/>
 
33
         <xs:maxInclusive value="36"/>
 
34
      </xs:restriction>
 
35
    </xs:simpleType>
 
36
  </xs:attribute>  
 
37
  <xs:attribute name="type">
 
38
    <xs:simpleType>
 
39
      <xs:restriction base="xs:NMTOKEN">
 
40
        <xs:enumeration value="e-notation"/>
 
41
        <xs:enumeration value="integer"/>
 
42
        <xs:enumeration value="rational"/>
 
43
        <xs:enumeration value="real"/>
 
44
        <xs:enumeration value="complex-cartesian"/>
 
45
        <xs:enumeration value="complex-polar"/>
 
46
        <xs:enumeration value="constant"/>
 
47
      </xs:restriction>
 
48
     </xs:simpleType>
 
49
  </xs:attribute>
 
50
  <xs:attributeGroup ref="Definition.attrib"/>
 
51
  <xs:attributeGroup ref="Common.attrib"/>
 
52
</xs:attributeGroup>
 
53
 
 
54
<!-- the content of "cn" may have <sep> elements in it -->
 
55
 
 
56
<xs:complexType name="sep.type">
 
57
</xs:complexType>
 
58
 
 
59
<xs:element name="sep" type="sep.type"/>
 
60
 
 
61
<xs:group name="cn.content">
 
62
  <xs:choice>
 
63
    <xs:group ref="Presentation-expr.class"/>
 
64
    <xs:element ref="sep"/>
 
65
  </xs:choice>
 
66
</xs:group>
 
67
 
 
68
<xs:complexType name="cn.type" mixed="true">
 
69
  <xs:group ref="cn.content" minOccurs="0" maxOccurs="unbounded"/>
 
70
  <xs:attributeGroup ref="cn.attlist"/>
 
71
</xs:complexType>
 
72
 
 
73
<xs:element name="cn" type="cn.type"/>
 
74
 
 
75
<!-- "ci" -->
 
76
 
 
77
<xs:attributeGroup name="ci.attlist">
 
78
  <xs:attribute name="type" type="xs:string"/>
 
79
  <xs:attributeGroup ref="Definition.attrib"/>
 
80
  <xs:attributeGroup ref="Common.attrib"/>
 
81
</xs:attributeGroup>
 
82
 
 
83
<xs:complexType name="ci.type" mixed="true">
 
84
  <xs:group ref="Content-token.content" minOccurs="0"/>
 
85
  <xs:attributeGroup ref="ci.attlist"/>
 
86
</xs:complexType>
 
87
 
 
88
<xs:element name="ci" type="ci.type"/>
 
89
 
 
90
<!-- "csymbol" -->
 
91
 
 
92
<xs:attributeGroup name="csymbol.attlist">
 
93
  <xs:attributeGroup ref="Definition.attrib"/>
 
94
  <xs:attributeGroup ref="Common.attrib"/>
 
95
</xs:attributeGroup>
 
96
 
 
97
<xs:complexType name="csymbol.type" mixed="true">
 
98
  <xs:group ref="Content-token.content" minOccurs="0"/>
 
99
  <xs:attributeGroup ref="csymbol.attlist"/>
 
100
</xs:complexType>
 
101
 
 
102
<xs:element name="csymbol" type="csymbol.type"/>
 
103
 
 
104
<!-- And the group of everything -->
 
105
 
 
106
<xs:group name="Content-tokens.class">
 
107
  <xs:choice>
 
108
    <xs:element ref="cn"/>
 
109
    <xs:element ref="ci"/>
 
110
    <xs:element ref="csymbol"/>
 
111
  </xs:choice>
 
112
</xs:group>
 
113
 
 
114
</xs:schema>
 
115
<!--
 
116
  Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
 
117
  of Technology, Institut National de Recherche en Informatique et en
 
118
  Automatique, Keio University). All Rights Reserved. See
 
119
  http://www.w3.org/Consortium/Legal/.
 
120
  -->