Page 1 of 1

MathML namespace prefix

Posted: Fri Jan 04, 2013 5:20 pm
by benwem
When creating a new Dita document of type "Composite with MATHML", the namespace prefix for MathML is "mml:". How can I change this in "m:"?

Re: MathML namespace prefix

Posted: Fri Jan 04, 2013 6:08 pm
by Radu
Hi,

The new file template for creating a DITA composite + MathML can be modified from:

OXYGEN_INSTALL_DIR\frameworks\dita\templates\topic\Composite with MathML.dita

But:

The template uses a specialization DTD for validation and DTDs are not namespace aware.
So you should also edit the DTD:

OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/plugins/mathml/dtd/mathmlDomain2.mod

and replace in it in three places "mml" with "m".

Regards,
Radu