From: Bruce Miller <bruce.miller@nist.gov>

Date: Mon, 28 Aug 2006 11:07:43 -0400

Message-ID: <44F306BF.4010605@nist.gov>

To: wopsch <wopsch@nefkom.net>

CC: www-math@w3.org

Date: Mon, 28 Aug 2006 11:07:43 -0400

Message-ID: <44F306BF.4010605@nist.gov>

To: wopsch <wopsch@nefkom.net>

CC: www-math@w3.org

wopsch wrote: > > hello, > > sorry, but my english is not so well. I write from nuremberg, germany. > > My problem, and I hope you can help me, is: > I want to create a website with mathematical content by using mathml. > I have no problems with IE/mathplayer. IE/mathplayer displays the > notation correctly. > I have problems with netscape and firefox. Every site in the web which > use mathml is correctly displayed, but not my website. > Is the problem the serverconfiguration? > > My code: > <?xml version="1.0"?> > <?xml-stylesheet type="text/xsl" href="pmathml.xsl"?> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html" /> You'll want to use "application/xhtml+xml" And you'll probably also need to add a mime-type mapping for your web server. Assuming you're using the extension .xhtml for such files, with apache you'd put AddType application/xhtml+xml .xhtml into your httpd.conf > <title>Test</title> > </head> > > <body> > > <math display='block' xmlns='http://www.w3.org/1998/Math/MathML'> > > <mrow> > <mfrac> > <mn>1</mn> > <mn>2</mn> > </mfrac> > <msup> > <mi>x</mi> > <mn>2</mn> > </msup> > <mo>−</mo><mn>4</mn><mi>x</mi> > </mrow> > > </math> > > </body> > </html> > > thank you > Wolfgang, Nuremberg (Germany) > > > > > -- bruce.miller@nist.gov http://math.nist.gov/~BMiller/Received on Monday, 28 August 2006 15:08:12 UTC

*
This archive was generated by hypermail 2.3.1
: Tuesday, 6 January 2015 21:27:38 UTC
*