Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
XML Package >

ExpressionToSymbolicMathML

ExpressionToSymbolicMathML[expr]
converts the Mathematica expression, expr, into a MathML-flavored SymbolicXML structure.
  • To use ExpressionToSymbolicMathML, you first need to load the XML Package using Needs["XML`"].
  • The output is in content MathML wherever possible.
  • The following options can be given:
"Annotations"{}annotations to add to the output (acceptable values are combinations of "DocumentHeader", "XMLDeclaration", and "DOCTYPEDeclaration")
"Formats"{"PresentationMathML","ContentMathML"}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
Needs["XML`"]
Generate some MathML-flavored SymbolicXML:
In[2]:=
Click for copyable input
Out[2]=
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team