Use the <mathml> element to contain content that contributes to a semantic equation. Such content includes MathML elements, references to MathML elements held in separate, non-DITA documents, <data>, or <data-about> elements.

The <mathml> element is not intended to represent a semantic equation, only content that contributes to a semantic equation. Use the equation domain elements or their equivalent to represent equations semantically, for example, to enable numbering of equations.

The MathML markup must have a root element of <math> within the MathML namespace: "http://www.w3.org/1998/Math/MathML".

Content models

See appendix for information about this element in OASIS document type shells.


+ topic/foreign mathml-d/mathml


In the following example, a <mathml> element contains MathML content:

    <m:math xmlns:m ="http://www.w3.org/1998/Math/MathML">


The following attributes are available on this element: Universal attribute group and outputclass.

Return to main page.