W3C home > Mailing lists > Public > www-math@w3.org > June 2005

Problems with MathML

From: Pierpaolo Di Bitonto <dibitonto@di.uniba.it>
Date: Wed, 15 Jun 2005 20:13:26 +0200
Message-ID: <000801c571d5$edc96a20$0200a8c0@Pierpaolo>
To: <www-math@w3.org>
Hi, I'm Pierpaolo Di Bitonto, I'm student. I have some problems with the visualizzation of mathml code with Internet Explorer.
The code is:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="pmathml.xsl"?>

<!--
Copyright David Carlisle 2001, 2002.

Use and distribution of this code are permitted under the terms of the <a
href="http://www.w3.org/Consortium/Legal/copyright-software-19980720"
>W3C Software Notice and License</a>.
-->
<!--
  pref:renderer="techexplorer-plugin"
  pref:renderer="techexplorer"
  pref:renderer="css"
  pref:renderer="mathplayer"
  pref:renderer="mathplayer-dl"
-->
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:pref="http://www.w3.org/2002/Math/preference"
      pref:renderer="techexplorer-plugin">

<head>
  <meta http-equiv="Content-Type" content="text/html" />
  <title>Presentation Examples</title>
</head>

<body>
<h2>Can your browser display Presentation MathML?</h2>

<p>Below you should see an equation inlined within some text</p>

<p>some text, some text, 
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mrow>
    <msup>
      <mfenced open="[" close="]">
        <mrow>
          <mi>a</mi>
          <mo>+</mo>
          <mi>b</mi>
        </mrow>
      </mfenced>
      <mn>260</mn>
    </msup>
    <mo>+</mo>
    <msub>
      <mfenced open="{" close="}">
        <mrow>
          <mi>a</mi>
          <mo>+</mo>
          <mi>b</mi>
        </mrow>
      </mfenced>
      <mi>i</mi>
    </msub>
  </mrow>
</math>
 some text.</p>

<p>This picture shows a possible rendering of it:</p>

<p><img src="snapshot1.png" alt="Snapshot of formula above" /></p>

<p>Below is an equation with a radical:</p>

<p>
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <msup>
    <msqrt>
      <mrow>
        <mi>a</mi>
        <mo>+</mo>
        <mi>b</mi>
      </mrow>
    </msqrt>
    <mn>27</mn>
  </msup>
</math>
</p>

<p>a rendering of which is shown below:</p>

<p><img src="snapshot2.png" alt="Rendering of example 2" /></p>

<p>If your browser displays those equations correctly, it is enabled to
display Presentation MathML.</p>

<hr />
<img src="/Math/mathmlSmall.png" alt="MathML inside!"/>
</body>
</html>

The files called ctop.xsl, matml.xsl,  pmatml.xsl,  pmathmlcss.xsl are in the same folder. What's the problem?

Regards
Pierpaolo Di Bitonto
Received on Thursday, 16 June 2005 11:52:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:57 GMT