File: mathml3-common.xsd

package info (click to toggle)
python-xsdata 24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,936 kB
  • sloc: python: 29,257; xml: 404; makefile: 27; sh: 6
file content (99 lines) | stat: -rw-r--r-- 4,067 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:m="http://www.w3.org/1998/Math/MathML"
           elementFormDefault="qualified"
           targetNamespace="http://www.w3.org/1998/Math/MathML">
   <xs:element name="math">
      <xs:complexType>
         <xs:group minOccurs="0" maxOccurs="unbounded" ref="m:MathExpression"/>
         <xs:attributeGroup ref="m:math.attributes"/>
      </xs:complexType>
   </xs:element>
   <xs:attributeGroup name="CommonDeprecatedAtt">
      <xs:attribute name="other"/>
   </xs:attributeGroup>
   <xs:attributeGroup name="CommonAtt">
      <xs:attribute name="id" type="xs:ID"/>
      <xs:attribute name="xref"/>
      <xs:attribute name="class" type="xs:NMTOKENS"/>
      <xs:attribute name="style" type="xs:string"/>
      <xs:attribute name="href" type="xs:anyURI"/>
      <xs:attributeGroup ref="m:CommonDeprecatedAtt"/>
      <xs:anyAttribute namespace="##other" processContents="skip"/>
   </xs:attributeGroup>
   <xs:attributeGroup name="math.deprecatedattributes">
      <xs:attribute name="mode" type="xs:string"/>
      <xs:attribute name="macros" type="xs:string"/>
   </xs:attributeGroup>
   <xs:attributeGroup name="name">
      <xs:attribute name="name" use="required" type="xs:NCName"/>
   </xs:attributeGroup>
   <xs:attributeGroup name="cd">
      <xs:attribute name="cd" use="required" type="xs:NCName"/>
   </xs:attributeGroup>
   <xs:attributeGroup name="src">
      <xs:attribute name="src" type="xs:anyURI"/>
   </xs:attributeGroup>
   <xs:element name="annotation">
      <xs:complexType mixed="true">
         <xs:attributeGroup ref="m:annotation.attributes"/>
      </xs:complexType>
   </xs:element>
   <xs:complexType name="annotation-xml.model"><!--content model altered for libxml (annotation-xml)--><xs:sequence>
         <xs:any processContents="lax"/>
      </xs:sequence>
   </xs:complexType>
   <xs:group name="anyElement">
      <xs:choice>
         <xs:any namespace="##other" processContents="skip"/>
         <xs:any namespace="##local" processContents="skip"/>
      </xs:choice>
   </xs:group>
   <xs:element name="annotation-xml">
      <xs:complexType>
         <xs:complexContent>
            <xs:extension base="m:annotation-xml.model">
               <xs:attributeGroup ref="m:annotation.attributes"/>
            </xs:extension>
         </xs:complexContent>
      </xs:complexType>
   </xs:element>
   <xs:attributeGroup name="annotation.attributes">
      <xs:attributeGroup ref="m:CommonAtt"/>
      <xs:attribute name="cd" type="xs:NCName"/>
      <xs:attribute name="name" type="xs:NCName"/>
      <xs:attributeGroup ref="m:DefEncAtt"/>
      <xs:attributeGroup ref="m:src"/>
   </xs:attributeGroup>
   <xs:attributeGroup name="DefEncAtt">
      <xs:attribute name="encoding" type="xs:string"/>
      <xs:attribute name="definitionURL" type="xs:anyURI"/>
   </xs:attributeGroup>
   <xs:group name="semantics">
      <xs:sequence>
         <xs:element name="semantics">
            <xs:complexType>
               <xs:sequence>
                  <xs:group ref="m:MathExpression"/>
                  <xs:choice minOccurs="0" maxOccurs="unbounded">
                     <xs:element ref="m:annotation"/>
                     <xs:element ref="m:annotation-xml"/>
                  </xs:choice>
               </xs:sequence>
               <xs:attributeGroup ref="m:semantics.attributes"/>
            </xs:complexType>
         </xs:element>
      </xs:sequence>
   </xs:group>
   <xs:attributeGroup name="semantics.attributes">
      <xs:attributeGroup ref="m:CommonAtt"/>
      <xs:attributeGroup ref="m:DefEncAtt"/>
      <xs:attribute name="cd" type="xs:NCName"/>
      <xs:attribute name="name" type="xs:NCName"/>
   </xs:attributeGroup>
   <xs:simpleType name="length">
      <xs:restriction base="xs:string">
         <xs:pattern value="\s*((-?[0-9]*([0-9]\.?|\.[0-9])[0-9]*(e[mx]|in|cm|mm|p[xtc]|%)?)|(negative)?((very){0,2}thi(n|ck)|medium)mathspace)\s*"/>
      </xs:restriction>
   </xs:simpleType>
</xs:schema>