XML Schema "layout.xsd"
Target Namespace:
http://www.w3.org/1998/Math/MathML
Components:
global elements, 8 complexTypes, 2 simpleTypes, 1 element group, 8 attribute groups
Schema Location:
http://www.erudit.org/xsd/mathml/2.0/presentation/layout.xsd, see XML source
Included in Schema:
mathml2.xsd [src]
Annotation
This is the XML schema module for the layout elements of the presentation part of MathML. Author: Stéphane Dalmas, INRIA.
Element Summary
menclose
Type:
Content:
complex, 6+any attributes, 166 elements
Defined:
globally, see XML source
Used:
mfenced
Type:
Content:
complex, 8+any attributes, 166 elements
Defined:
globally, see XML source
Used:
mfrac
Type:
Content:
complex, 9+any attributes, 166 elements
Defined:
globally, see XML source
Used:
mpadded
Type:
Content:
complex, 9+any attributes, 166 elements
Defined:
globally, see XML source
Used:
mphantom
Type:
Content:
complex, 5+any attributes, 166 elements
Defined:
globally, see XML source
Used:
mroot
Type:
Content:
complex, 5+any attributes, 166 elements
Defined:
globally, see XML source
Used:
mrow
Type:
Content:
complex, 5+any attributes, 166 elements
Defined:
globally, see XML source
Used:
msqrt
Type:
Content:
complex, 5+any attributes, 166 elements
Defined:
globally, see XML source
Used:
Complex Type Summary
menclose.type
Content:
complex, 6+any attributes, 166 elements
Used:
mfenced.type
Content:
complex, 8+any attributes, 166 elements
Used:
mfrac.type
Content:
complex, 9+any attributes, 166 elements
Used:
mpadded.type
Content:
complex, 9+any attributes, 166 elements
Used:
mphantom.type
Content:
complex, 5+any attributes, 166 elements
Used:
mroot.type
Content:
complex, 5+any attributes, 166 elements
Used:
mrow.type
Content:
complex, 5+any attributes, 166 elements
Used:
msqrt.type
Content:
complex, 5+any attributes, 166 elements
Used:
Simple Type Summary
mpadded-space
Used:
mpadded-width-space
Used:
Element Group Summary
Presentation-layout.class
Content:
Includes:
definitions of 8 elements
Used:
Attribute Group Summary
menclose.attlist
Content:
6+any attributes
Includes:
definition of 1 attribute
Used:
mfenced.attlist
Content:
8+any attributes
Includes:
definitions of 3 attributes
Used:
mfrac.attlist
Content:
9+any attributes
Includes:
definitions of 4 attributes
Used:
mpadded.attlist
Content:
9+any attributes
Includes:
definitions of 4 attributes
Used:
mphantom.attlist
Content:
5+any attributes
Used:
mroot.attlist
Content:
5+any attributes
Used:
mrow.attlist
Content:
5+any attributes
Used:
msqrt.attlist
Content:
5+any attributes
Used:
XML Source (w/o annotations (1))
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema elementFormDefault="qualified" targetNamespace="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- "mrow" -->
<xs:attributeGroup name="mrow.attlist">
<xs:attributeGroup ref="Common.attrib"/>
</xs:attributeGroup>
<xs:complexType name="mrow.type">
<xs:group maxOccurs="unbounded" minOccurs="0" ref="Presentation-expr.class"/>
<xs:attributeGroup ref="mrow.attlist"/>
</xs:complexType>
<xs:element name="mrow" type="mrow.type"/>
<!-- "mfrac" -->
<xs:attributeGroup name="mfrac.attlist">
<xs:attribute name="bevelled" type="xs:boolean"/>
<xs:attribute default="center" name="denomalign" type="centering"/>
<xs:attribute default="center" name="numalign" type="centering"/>
<xs:attribute default="1" name="linethickness">
<xs:simpleType>
<xs:union memberTypes="length-with-optional-unit thickness"/>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="Common.attrib"/>
</xs:attributeGroup>
<xs:complexType name="mfrac.type">
<xs:group maxOccurs="2" minOccurs="2" ref="Presentation-expr.class"/>
<xs:attributeGroup ref="mfrac.attlist"/>
</xs:complexType>
<xs:element name="mfrac" type="mfrac.type"/>
<!-- "msqrt" -->
<xs:attributeGroup name="msqrt.attlist">
<xs:attributeGroup ref="Common.attrib"/>
</xs:attributeGroup>
<!-- "msqrt" has an "inferred mrow" if more than one argument -->
<xs:complexType name="msqrt.type">
<xs:group maxOccurs="unbounded" minOccurs="0" ref="Presentation-expr.class"/>
<xs:attributeGroup ref="msqrt.attlist"/>
</xs:complexType>
<xs:element name="msqrt" type="msqrt.type"/>
<!-- "mroot" -->
<xs:attributeGroup name="mroot.attlist">
<xs:attributeGroup ref="Common.attrib"/>
</xs:attributeGroup>
<xs:complexType name="mroot.type">
<xs:group maxOccurs="2" minOccurs="2" ref="Presentation-expr.class"/>
<xs:attributeGroup ref="mroot.attlist"/>
</xs:complexType>
<xs:element name="mroot" type="mroot.type"/>
<!-- "mpadded" -->
<xs:simpleType name="mpadded-space">
<xs:restriction base="xs:string">
<xs:pattern value="(\+|-)?([0-9]+|[0-9]*\.[0-9]+)(((%?) *(width|lspace|height|depth))|(em|ex|px|in|cm|mm|pt|pc))"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="mpadded-width-space">
<xs:restriction base="xs:string">
<!-- MaxF: definition from spec seems wrong, fixing to ([+|-] unsigned-number (%[pseudo-unit]|pseudo-unit|h-unit)) | namedspace | 0 -->
<xs:pattern value="((\+|-)?([0-9]+|[0-9]*\.[0-9]+)(((%?) *(width|lspace|height|depth)?)|(width|lspace|height|depth)|(em|ex|px|in|cm|mm|pt|pc)))|((veryverythin|verythin|thin|medium|thick|verythick|veryverythick)mathspace)|0"/>
</xs:restriction>
</xs:simpleType>
<xs:attributeGroup name="mpadded.attlist">
<xs:attribute name="width" type="mpadded-width-space"/>
<!-- should have default=0 below but '0' is not in value space -->
<!-- see bug #425 -->
<xs:attribute name="lspace" type="mpadded-space"/>
<xs:attribute name="height" type="mpadded-space"/>
<xs:attribute name="depth" type="mpadded-space"/>
<xs:attributeGroup ref="Common.attrib"/>
</xs:attributeGroup>
<xs:complexType name="mpadded.type">
<xs:group maxOccurs="unbounded" minOccurs="0" ref="Presentation-expr.class"/>
<xs:attributeGroup ref="mpadded.attlist"/>
</xs:complexType>
<xs:element name="mpadded" type="mpadded.type"/>
<!-- "mphantom" -->
<xs:attributeGroup name="mphantom.attlist">
<xs:attributeGroup ref="Common.attrib"/>
</xs:attributeGroup>
<xs:complexType name="mphantom.type">
<xs:group maxOccurs="unbounded" minOccurs="0" ref="Presentation-expr.class"/>
<xs:attributeGroup ref="mphantom.attlist"/>
</xs:complexType>
<xs:element name="mphantom" type="mphantom.type"/>
<!-- "mfenced" -->
<xs:attributeGroup name="mfenced.attlist">
<xs:attribute default="(" name="open" type="xs:string"/>
<xs:attribute default=")" name="close" type="xs:string"/>
<xs:attribute default="," name="separators" type="xs:string"/>
<xs:attributeGroup ref="Common.attrib"/>
</xs:attributeGroup>
<xs:complexType name="mfenced.type">
<xs:group maxOccurs="unbounded" minOccurs="0" ref="Presentation-expr.class"/>
<xs:attributeGroup ref="mfenced.attlist"/>
</xs:complexType>
<xs:element name="mfenced" type="mfenced.type"/>
<!-- "menclose" -->
<xs:attributeGroup name="menclose.attlist">
<xs:attribute default="longdiv" name="notation">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="actuarial"/>
<xs:enumeration value="longdiv"/>
<xs:enumeration value="radical"/>
<xs:enumeration value="box"/>
<xs:enumeration value="roundedbox"/>
<xs:enumeration value="circle"/>
<xs:enumeration value="left"/>
<xs:enumeration value="right"/>
<xs:enumeration value="top"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="updiagonalstrike"/>
<xs:enumeration value="downdiagonalstrike"/>
<xs:enumeration value="verticalstrike"/>
<xs:enumeration value="horizontalstrike"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="Common.attrib"/>
</xs:attributeGroup>
<xs:complexType name="menclose.type">
<xs:group maxOccurs="unbounded" minOccurs="0" ref="Presentation-expr.class"/>
<xs:attributeGroup ref="menclose.attlist"/>
</xs:complexType>
<xs:element name="menclose" type="menclose.type"/>
<!-- And the group of everything -->
<xs:group name="Presentation-layout.class">
<xs:choice>
<xs:element ref="mrow"/>
<xs:element ref="mfrac"/>
<xs:element ref="msqrt"/>
<xs:element ref="mroot"/>
<xs:element ref="mpadded"/>
<xs:element ref="mphantom"/>
<xs:element ref="mfenced"/>
<xs:element ref="menclose"/>
</xs:choice>
</xs:group>
</xs:schema>
<!--
Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
of Technology, Institut National de Recherche en Informatique et en
Automatique, Keio University). All Rights Reserved. See
http://www.w3.org/Consortium/Legal/.
-->

XML schema documentation generated with DocFlex/XML 1.7.0 using DocFlex/XML | XSDDoc 2.0.0 template set