This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

BoxesToSymbolicMathML

BoxesToSymbolicMathML[boxes]
converts the Mathematica box structure, boxes, into a MathML-flavored SymbolicXML structure.
  • To use , you first need to load the XML Package using .
  • The following options can be given:
"Annotations"{}annotations to add to the output (acceptable values are combinations of , , and )
"Formats"{"PresentationMathML"}type of MathML markup to generate
"IncludeMarkupAnnotations"Truewhether to add annotation when exporting a formula with constructs specific to Mathematica and no clear counterpart in MathML
"MathAttributes"{}attributes to add to the root element of the MathML
"UseUnicodePlane1Characters"Truewhether to replace plane 1 Unicode characters with similar plane 0 characters
Generate some MathML-flavored SymbolicXML:
Use the result to convert the data into a Mathematica box expression:
Recover the SymbolicMathML:
Needs["XML`"]
Generate some MathML-flavored SymbolicXML:
In[2]:=
Click for copyable input
Out[2]=
Use the result to convert the data into a Mathematica box expression:
In[3]:=
Click for copyable input
Out[3]=
Recover the SymbolicMathML:
In[4]:=
Click for copyable input
Out[4]=