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

« back to all changes in this revision

Viewing changes to xsd2cppsax/mathml2/presentation/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
  presentation part of MathML.
 
14
  Author: St&#233;phane Dalmas, INRIA.
 
15
  </xs:documentation>
 
16
</xs:annotation>
 
17
 
 
18
<!-- The content of presentation token elements is either normal
 
19
  characters, "mglyph" ones or alignment marks -->
 
20
 
 
21
<xs:group name="Glyph-alignmark.class">
 
22
    <xs:choice>
 
23
      <xs:element ref="malignmark"/>
 
24
      <xs:element ref="mglyph"/>
 
25
    </xs:choice>
 
26
</xs:group>
 
27
 
 
28
<!-- "mi" -->
 
29
 
 
30
<!-- "mi" is supposed to have a default value of its "mathvariant" attribute
 
31
     set to "italic" -->
 
32
<xs:attributeGroup name="mi.attlist">
 
33
   <xs:attributeGroup ref="Token-style.attrib"/>
 
34
   <xs:attributeGroup ref="Common.attrib"/>
 
35
</xs:attributeGroup>
 
36
 
 
37
<xs:complexType name="mi.type" mixed="true">
 
38
  <xs:group ref="Glyph-alignmark.class" minOccurs="0" maxOccurs="unbounded"/>
 
39
  <xs:attributeGroup ref="mi.attlist"/> 
 
40
</xs:complexType>
 
41
 
 
42
<xs:element name="mi" type="mi.type"/>
 
43
 
 
44
<!-- "mo" -->
 
45
 
 
46
<xs:attributeGroup name="mo.attlist">
 
47
   <xs:attributeGroup ref="Operator.attrib"/>
 
48
   <xs:attributeGroup ref="Token-style.attrib"/>
 
49
   <xs:attributeGroup ref="Common.attrib"/>
 
50
</xs:attributeGroup>
 
51
 
 
52
<xs:complexType name="mo.type" mixed="true">
 
53
  <xs:group ref="Glyph-alignmark.class" minOccurs="0" maxOccurs="unbounded"/>
 
54
  <xs:attributeGroup ref="mo.attlist"/> 
 
55
</xs:complexType>
 
56
 
 
57
<xs:element name="mo" type="mo.type"/>
 
58
 
 
59
<!-- "mn" -->
 
60
 
 
61
<xs:attributeGroup name="mn.attlist">
 
62
  <xs:attributeGroup ref="Token-style.attrib"/>
 
63
  <xs:attributeGroup ref="Common.attrib"/>
 
64
</xs:attributeGroup>
 
65
 
 
66
<xs:complexType name="mn.type" mixed="true">
 
67
  <xs:group ref="Glyph-alignmark.class" minOccurs="0" maxOccurs="unbounded"/>
 
68
  <xs:attributeGroup ref="mi.attlist"/> 
 
69
</xs:complexType>
 
70
 
 
71
<xs:element name="mn" type="mn.type"/>
 
72
 
 
73
<!-- "mtext" -->
 
74
 
 
75
<xs:attributeGroup name="mtext.attlist">
 
76
  <xs:attributeGroup ref="Token-style.attrib"/>
 
77
  <xs:attributeGroup ref="Common.attrib"/>
 
78
</xs:attributeGroup>
 
79
 
 
80
<xs:complexType name="mtext.type" mixed="true">
 
81
  <xs:group ref="Glyph-alignmark.class" minOccurs="0" maxOccurs="unbounded"/>
 
82
  <xs:attributeGroup ref="mtext.attlist"/> 
 
83
</xs:complexType>
 
84
 
 
85
<xs:element name="mtext" type="mtext.type"/>
 
86
 
 
87
<!-- "ms" -->
 
88
 
 
89
<xs:attributeGroup name="ms.attlist">
 
90
   <!-- the values of "lquote" or "rquote" are not restricted to be
 
91
        one character strings... -->
 
92
   <xs:attribute name="lquote" type="xs:string" default="&quot;"/>
 
93
   <xs:attribute name="rquote" type="xs:string" default="&quot;"/>
 
94
   <xs:attributeGroup ref="Token-style.attrib"/>
 
95
   <xs:attributeGroup ref="Common.attrib"/>
 
96
</xs:attributeGroup>
 
97
 
 
98
<xs:complexType name="ms.type" mixed="true">
 
99
  <xs:group ref="Glyph-alignmark.class" minOccurs="0" maxOccurs="unbounded"/>
 
100
  <xs:attributeGroup ref="ms.attlist"/> 
 
101
</xs:complexType>
 
102
 
 
103
<xs:element name="ms" type="ms.type"/>
 
104
 
 
105
<!-- And the group of any token -->
 
106
 
 
107
<xs:group name="Presentation-token.class">
 
108
  <xs:choice> 
 
109
    <xs:element ref="mi"/>
 
110
    <xs:element ref="mo"/>
 
111
    <xs:element ref="mn"/>
 
112
    <xs:element ref="mtext"/>
 
113
    <xs:element ref="ms"/>
 
114
  </xs:choice>
 
115
</xs:group>
 
116
 
 
117
</xs:schema>
 
118
 
 
119
<!--
 
120
  Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
 
121
  of Technology, Institut National de Recherche en Informatique et en
 
122
  Automatique, Keio University). All Rights Reserved. See
 
123
  http://www.w3.org/Consortium/Legal/.
 
124
  -->