W3C home > Mailing lists > Public > www-math@w3.org > March 2004

error : implementing mathml on my website

From: <pas.faut@free.fr>
Date: Fri, 5 Mar 2004 23:52:18 +0100
Message-ID: <1078527138.404904a2892da@imp4-q.free.fr>
To: www-math@w3.org


Sorry for my english, i don't write it well but i will try to be 
understandable. I try to use MathML in my pages but there is a problem. I use 
a Data Base MySQL which contain some articles that i want to put automatically 
on my web pages. In fact, i use the system SPIP (a french one) to control this 
work. So, to open a page, i call for instance test.php3 which contain :

$fond = "test";
$delais = 0;
include "inc-public.php3";

and this call test.html which is a skeleton to create the page we want to send 
to the navigator. test.html contain :

<html xmlns:m="http://www.w3.org/1998/Math/MathML">
  <meta http-equiv="Content-Type" content="text/html" />

<object id="MathPlayer" classid="clsid:32F66A20-7614-11D4-BD11-

<?import namespace="m" implementation="#MathPlayer" ?>


<body bgcolor="#F9EC93" text="#993300">

<? $i = $debut_page1 + 6 ; $j= $debut_page2 + 6 ?>
<? $k = $debut_page1 - 6 ; $l= $debut_page2 - 6 ?>
<? $pageG = 1+2*($debut_page1/6) ; $pageD = $pageG + 1 ?>
<center><a href='mainMaths.php3?debut_page1=<? echo "$k" ?>&debut_page2=<? 
echo "$l" ?>'>page précédente</a>-- .....

Here we are. The line <?import namespace..... create a parse error. Php seems 
to believe that it is not xml language....what must i do ??

Thank you for your answers.

Received on Saturday, 6 March 2004 02:31:46 UTC

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