An unofficial RELAX NG schema for MathML 2.0
Author: Masayasu Ishikawa (mimasa@w3.org)
$Id: mathml2.rng 7615 2003-09-02 21:13:17Z jago $
This is the Mathematical Markup Language (MathML) 2.0, an XML
application for describing mathematical notation and capturing
both its structure and content.
Permission to use, copy, modify and distribute this MathML 2.0 RELAX NG
schema and its accompanying documentation for any purpose and without
fee is hereby granted in perpetuity, provided that the above copyright
notice and this paragraph appear in all copies. The author makes no
representation about the suitability of this RELAX NG schema for
any purpose.
It is provided "as is" without expressed or implied warranty.
The top-level element "math" contains MathML encoded
mathematics. The "math" element has the browser info
attributes iff it is also the browser interface element.
Attributes shared by all elements
simple
none
Presentation element set
Attribute definitions
normal
bold
normal
italic
MathML2 typographically-distinguished symbol attributes
prefix
infix
postfix
true
false
true
false
true
false
true
false
true
false
true
false
true
false
true
false
true
false
none
solid
dashed
left
right
leftoverlap
rightoverlap
left
right
Presentation schemata with content
Empty presentation schemata
Presentation: general layout schemata
Presentation layout schemata: scripts and limits
Presentation layout schemata: empty elements for scripts
Presentation layout schemata: tables
Empty presentation layout schemata
Presentation action schemata
The following entity for substitution into
content constructs excludes elements that
are not valid as expressions.
Presentation entity: all presentation constructs
Content element set
Attribute definitions
Content elements: leaf nodes
Content elements: specials
Content elements: others
Content elements: semantic mapping
Content elements: constructors
Content elements: symbols
Content elements: operators
Content elements: relations
Content elements: quantifiers
Operator groups
Relation groups
Content constructs: all
Content constructs for substitution in presentation structures
Recursive definition for content of expressions. Include
presentation constructs at lowest level so presentation
layout schemata hold presentation or content elements.
Include content constructs at lowest level so content
elements hold PCDATA or presentation elements at leaf
level (for permitted substitutable elements in context)
PCDATA or MathML character elements
Content elements: tokens
(may contain embedded presentation constructs)
Content elements: special
Content elements: other
Content elements: semantics
Content elements: constructors
Content elements: operator (user-defined)
Content elements: quantifiers
Presentation layout schemata contain tokens,
layout and content schemata.
Presentation elements contain PCDATA or malignmark constructs.
Browser interface definition
Attributes for top-level element "math"
Attributes for browser interface element
scroll
elide
truncate
scale