MathML (.mml) Math Format
MathML file format
Description
Notes
Examples
References
MathML (Mathematics Markup Language) is an XML-based standard for encoding and communicating structured mathematical information.
The commands in the MathML package support the import and export of both content and presentation MathML.
The Import and Export commands can be used for import and export of MathML files.
Content-Type: application/mathml+xml
Import a MathML expression from a file
Import⁡example/binomial.mml,base=datadir
x+yn=∑k=0n⁡nk⁢xk⁢yn−k
Export an expression to a MathML string
MathML:-Export⁡sqrt⁡2⁢sin⁡x2−1
<math xmlns='http://www.w3.org/1998/Math/MathML'><semantics><mrow xref='id10'><msqrt><mfenced><mrow xref='id9'><mrow xref='id7'><mn xref='id1'>2</mn><mo>⁢</mo><mrow xref='id6'><msup><mi>sin</mi><mn xref='id5'>2</mn></msup><mo>⁡</mo><mi xref='id3'>x</mi></mrow></mrow><mo>-</mo><mn xref='id8'>1</mn></mrow></mfenced></msqrt></mrow><annotation-xml encoding='MathML-Content'><apply id='id10'><root/><apply id='id9'><plus/><apply id='id7'><times/><cn id='id1' type='integer'>2</cn><apply id='id6'><power/><apply id='id4'><sin id='id2'/><ci id='id3'>x</ci></apply><cn id='id5' type='integer'>2</cn></apply></apply><cn id='id8' type='integer'>-1</cn></apply></apply></annotation-xml><annotation encoding='Maple'>(2*sin(x)^2-1)^(1/2)</annotation></semantics></math>
MathML Specification, W3C.
See Also
Formats
MathML
Download Help Document