UseMathML Property

Description

This property specifies whether the EditLive! for XML should make the EditLive! Equation Editor functionality available to create, edit and render mathematical and scientific equations in MathML. For more information on how to install and configure the EditLive! Equation Editor see the EditLive! Equation Editor section of the this SDK.

Note

The EditLive! Equation Editor is available as an separate add-on to EditLive! for XML from Ephox.

Syntax

JavaScript

setUseMathML(blnMathML);

Parameters

blnWebDAV

A boolean indicating if EditLive! for XML should make the EditLive! Equation Editor functionality available to users.

The default value is false.

Examples

Example 16.30. UseMathML Property Example Scripting

The following code would inform EditLive! for XML to make the EditLive! Equation Editor functionality available to users provided that the EditLive! Equation Editor has been properly installed.

JavaScript

var editlivejs;
editlivejs = new EditLiveXML("ELApplet1","700","400");
editlivejs.setUseMathML(true); 

Remarks

When making EditLive! for XML's equation editor functionality available to users EditLive! for XML must also be configured and installed correctly. For more information on how to install and configure the EditLive! Equation Editor see the EditLive! Equation Editor section of the this SDK.

See Also