transformOMMLToMathML

transformOMMLToMathML

BASIC / 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 (http://www.wiris.com/editor/demo/en/mathml-latex).

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