XML`
XML`

MathMLToExpression

Same functionality now provided by ImportString[string,{"MathML","Expression"}].

MathMLToExpression[string]

converts the string containing MathML-flavored XML text into a Wolfram Language expression.

Details and Options

  • To use MathMLToExpression, you first need to load the XML Package using Needs["XML`"].

Examples

Basic Examples  (1)

Convert an expression to MathML:

Use MathMLToExpression to recover the original Wolfram Language expression: