mathml

Darwin Information Typing Architecture (DITA) Version 1.3 Part 2: Technical Content Edition

Document
Darwin Information Typing Architecture (DITA) Version 1.3 Part 2: Technical Content Edition
Version
1.3
Author
OASIS DITA Technical Committee

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.

Inheritance

+ topic/foreign mathml-d/mathml

Example

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

<equation-block>
  <mathml>
    <m:math xmlns:m ="http://www.w3.org/1998/Math/MathML">
      <m:semantics>
        <m:mrow>
          <m:msqrt>
            <m:mrow>
              <m:msup>
                <m:mi>a</m:mi>
                <m:mn>2</m:mn>
              </m:msup>
              <m:mo>+</m:mo><m:msup>
                <m:mi>b</m:mi>
                <m:mn>2</m:mn>
              </m:msup>
            </m:mrow>
          </m:msqrt>        
        </m:mrow>
      </m:semantics>
    </m:math>
  </mathml>
</equation-block>

Attributes

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