W3C home > Mailing lists > Public > www-math@w3.org > January 2003

Render MathML in IE with .asp/.htm file extension

From: Shutter, Simon B WLAP:EX <Simon.Shutter@gems4.gov.bc.ca>
Date: Mon, 27 Jan 2003 12:48:13 -0800
Message-ID: <B24A7581D0A70C4C98E8E9862F89F9CB1BD8BF@guide.gov.bc.ca>
To: "'www-math@w3.org'" <www-math@w3.org>

Hi,

I only seem to be able to render MathML in IE 6 when I use the .xml file
extension.  If I change the extension to .htm or .asp it doesn't render.  In
my .asp file I use the following script :

<% Response.ContentType = "text/xml" %>

Any help would be appreciated.

Thanks,

Simon


***************************************************
Here's the page produced by asp:

<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xsl" href="xsl/mathml.xsl"?>
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
...
</HEAD>
<BODY>
<math xmlns="http://www.w3.org/1998/Math/MathML">

<math display='block'>
   <semantics>
      <mrow>
         <munder>
            <mo>&#x2211;</mo>
            <mrow>
               <mi>i</mi><mo>=</mo><mn>1</mn>
            </mrow>
         </munder>
         <mrow>
            <mroot>
               <mrow>
                  <mi>a</mi><mi>b</mi><mo>+</mo><mi>c</mi>
               </mrow>
               <mn>2</mn>
            </mroot>
            
         </mrow>
         
      </mrow>
   </semantics>
</math>
</math>
</BODY>
</HTML>
Received on Monday, 27 January 2003 15:49:37 GMT

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