"HeldMathMLExpression" (Interpreter Type)
MathML input.
Details
- "HeldMathMLExpression" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "HeldMathMLExpression" does not require connectivity to the Wolfram Cloud.
- "HeldMathMLExpression" keeps its result unevaluated by wrapping it in HoldComplete.
Restriction Specifications
-
Restricted["HeldMathMLExpression",{{choice1,…}}] one among choices Restricted["HeldMathMLExpression",symbols] a MathML expression involving only the given symbols (All, Automatic, or an explicit list) Restricted["HeldMathMLExpression",symbols,contexts] a MathML expression involving only the given symbols or symbols in the given contexts (All, Automatic, or an explicit list) Restricted["HeldMathMLExpression",symbols,contexts,resultcontext] a MathML expression involving only the given symbols or symbols in the given contexts, where the new symbols are created in resultcontext
Interpretation
- "HeldMathMLExpression" yields a representation of the MathML expression in the Wolfram Language, wrapped in HoldComplete.
Examples
Basic Examples (6)
Interpret MathML inputs without evaluating them:
No evaluation is attempted when matching the choices:
By default, all symbols are allowed. Restrict to a list of allowed symbols:
By default, new symbols are created in $Context, but a custom context can be specified: