error : implementing mathml on my website

Hi, 

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 :

<?php
$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">
<head>
<title>main</title>
  <meta http-equiv="Content-Type" content="text/html" />

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

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


</head>

<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.

Pascal

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