transformOMMLToMathML

transformOMMLToMathML

TRIAL / ADVANCED / PREMIUM

Transforms OMML (Office MathML) equations to MathML.

Description
public transformOMMLToMathML ( string $equation, [, array $options] )

Transforms OMML equations to MathML. A MathML viewer is required to display the ouput.

Parameters

equation

The OMML equation code.

options

The possible keys and values are:

Key Type Description
cleanNamespaces bool True as default; removes the namespaces (mml and xmlns) of the output.
Return values

string

Code samples

Example #1