Sample PHP/MathML

Here is sample PHP script including MathML contents


header("Content-type: application/xhtml+xml");
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
<html xmlns="" xml:lang="en">
<title>Example of PHP/MathML file</title>
    <h1>Example of an PHP script, generating
        an xHTML file with MathML contents</h1>
<p>Here is a mathematical expression, embed in this PHP script:<br/>
<span style="font-size:xx-large;">
  <math display="block" xmlns="">

Feel free to copy it and to use it as a template.

Trackbacks & Pings

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *