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.

更多信息和选项

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

范例

基本范例  (1)

Convert an expression to MathML:

Use MathMLToExpression to recover the original Wolfram Language expression: