-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Extra mrow within a math tag
Volker Sorge edited this page Apr 20, 2015
·
3 revisions
Issue. Back to list of issues.
Consider the following example:
Original MathML:
<math>
<mi>a</mi>
<mo>+</mo>
<mi>b</mi>
<mo>+</mo>
<mi>c</mi>
</math>
Version 1 of semantically enriched MathML:
<math>
<mrow type="infixop" role="addition" id="5" content="1,3" children="0,2,4">
<mi type="identifier" role="latinletter" id="0" parent="5">a</mi>
<mo type="operator" role="addition" id="1" operator="infixop,+" parent="5">+</mo>
<mi type="identifier" role="latinletter" id="2" parent="5">b</mi>
<mo type="operator" role="addition" id="3" operator="infixop,+" parent="5">+</mo>
<mi type="identifier" role="latinletter" id="4" parent="5">c</mi>
</mrow>
</math>
Version 2 of semantically enriched MathML:
<math type="infixop" role="addition" id="5" children="0,2,4" content="1,3">
<mi type="identifier" role="latinletter" id="0" parent="5">a</mi>
<mo type="operator" role="addition" id="1" operator="infixop,+" parent="5">+</mo>
<mi type="identifier" role="latinletter" id="2" parent="5">b</mi>
<mo type="operator" role="addition" id="3" operator="infixop,+" parent="5">+</mo>
<mi type="identifier" role="latinletter" id="4" parent="5">c</mi>
</math>