ICM Research







     

Converting Infix Expressions to MathML
and Displaying MathML with Native Browser Support

Using the CGI http://icm.mcs.kent.edu/cgi-bin/infix2mathml on icm.mcs.kent.edu (a virtual host on eagle.cs.kent.edu), this demo shows how to access the converter and how to dynamically insert result into a web page through DOM.

To try the demo, enter an infix expresson and click the convert button.



           

The MathML Source

Your infix string converted to MathML (mixed mode):

The MathML Source

Your infix string converted to MathML wrapped with XHTML code (for brwoser display):

The MathML Display

The result of the converted MathML displayed by Mozilla, Firefox, or Netscape, with math fonts loaded:

 




### usage:
### http://icm.mcs.kent.edu/cgi-bin/infix2mathml?
###         expr=<the infix exp>&format=<ie, nn, mathml or mathplayer>
###         if format is nn, a NN DOCTYPE and <html> ...<html>
###         enclosure is generated around the conversion
###         output <math  > ... <math>
###         if format is ie, a mathplayer header is generated for IE
###         if format is mathml,  just  ...  will be generated
###         if format is mathplayer   ...  will be benerated
###         by default the incoming expression is not simplified
###         before conversion.  Setting simplify=yes causes
###         simplification before conversion.



| Top of this Page | ICM Home |


The WME homepage and the WME Framework Project at ICM/Kent
have been supported in part by United States NSF Grant CCR-9721343 and CCR-0201772