ax<sup>2</sup> + bx + c = 0
produces equation
<sub>13</sub>Al<sup>27</sup> + <sub>2</sub>He<sup>4</sup>
= <sub>15</sub>P<sup>30</sup> + <sub>0<sub>n<sup>1</sup>
yeilds
th(x ± y) = <span n="th(x) ± th(y)" d="1 ± th(x)th(y)"/>
th(2x) = <span n="2th(x)" d="1 + th²(x)"/>
If appropriately formatted with CSS they will look like
B(m , n) = <span c="∫" a="0" b="1"/>
x<sup>m − 1</sup>(1 − x)<sup>n − 1</sup>dx
being formatted with CSS it produces
r = <span r="x² + y²"/>
s = <span r="x³ + y³ + z³" x="3"/>
and display it as
<!ATTLIST span a CDATA #IMPLIED b CDATA #IMPLIED
c CDATA #IMPLIED d CDATA #IMPLIED n CDATA #IMPLIED
r CDATA #IMPLIED x (2|3|4) #IMPLIED>
There are four flavours of M7-Markup, namely M7-T, M7-F, M7-S and M7-M
that extend XHTML 1.0 Transitional, Frameset, Strict and XHTML 1.1 respectively.
For more convenience new attributes defined in M7-T, M7-F DTDs are not prefixed
and does not belong to any namespace
(default namespace declarations do not apply directly to attribute names).
However in more strict M7-S and M7-M DTDs math attributes must be prefixed
and prefix should be defined on 'body' element as follows
<body xmlns:s="http://www.xml.org/xml/schema/13de5e66">
Appropriate document type declarations are listed below:
<!DOCTYPE html SYSTEM
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [
<!ATTLIST span a CDATA #IMPLIED b CDATA #IMPLIED
c CDATA #IMPLIED d CDATA #IMPLIED n CDATA #IMPLIED
r CDATA #IMPLIED x (2|3|4) #IMPLIED>]>
<!DOCTYPE html SYSTEM "http://www.xml.org/xml/schema/8d703386/m7t.dtd">
<!DOCTYPE html SYSTEM
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd" [
<!ATTLIST span a CDATA #IMPLIED b CDATA #IMPLIED
c CDATA #IMPLIED d CDATA #IMPLIED n CDATA #IMPLIED
r CDATA #IMPLIED x (2|3|4) #IMPLIED>]>
<!DOCTYPE html SYSTEM "http://www.xml.org/xml/schema/13de5e66/m7f.dtd">
<!DOCTYPE html SYSTEM "http://www.xml.org/xml/schema/13de5e66/m7s.dtd">
<!DOCTYPE html SYSTEM "http://www.xml.org/xml/schema/13de5e66/m7m.dtd">
Note that most of the browsers does not process external DTDs, while those that process basically just waste bandwidth as these DTDs does not contain any useful information apart of character entity declarations, therefore if cases when no character entities are used in document it is recommended to omit document type declarations (i.e. serve document as well formed XML). Note also that there is a bug in W3C markup validator, as a result some of DTDs listed above are not processed propertly by W3C validator.
<span n="1" d="2" r="3" />
Exact error handling rules and other related documentation will be posted later.
<?xml-stylesheet type="text/css" href="math.css"?>
should be placed before html element (if both style sheet and XHTML are located in the same directory).
More style sheets and other documentation will be posted later.
Last modified on 28-04-2005 by George Chavchanidze