MathML namespace prefix

Post here questions and problems related to editing and publishing DITA content.
benwem
Posts: 4
Joined: Fri Sep 25, 2009 5:16 pm

MathML namespace prefix

Post 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:"?
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: MathML namespace prefix

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply