CodeIgniter Forums
MathML in Mediawiki - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: MathML in Mediawiki (/thread-20354.html)



MathML in Mediawiki - El Forum - 07-07-2009

[eluser]The Spider[/eluser]
Hi all,

I have an xml document with mathML. I want this to insert into mediawiki for displaying mathematical expressions in wiki page. I dont know how to convert mathML to the format acceptable by mediawiki.
Can I get a php script to convert this mathML to a format acceptable by wiki?

The format of mathML is like:
<math display='block' >
<semantics>
<mrow>
<mfrac>

<mrow>
<mi>d</mi><mi>A</mi>
</mrow>
<mrow>
<mi>d</mi><mi>t</mi>
</mrow>
</mfrac>

<mo>=</mo><mi>&#x03BB;</mi><msub>
<mi>N</mi>
<mi>t</mi>
</msub>
<mi>&#x03C3;</mi><mi>&#x03C6;</mi>
</mrow>
<annotation encoding='MathType-MTEF'>
....

Thanks everyone.


Thanks everyone.