Re: MathML JavaScript Question

> Thanks for the reply, unfortunately clients default browser is IE!!! 

Actually I meant to say that your code as posted seems to work fine in
IE (+mathplayer) (at least when I tried it earlier today) IE always uses
html when  rendering (even if it's using client side xml tools like
xslt) as it knows nothing about xhtml, so comments about differences
when scripting in xhtml are not relevant in that case (whcih makes
writing script that works on more than one browser "interesting".

Ah If they are using IE without mathplayer (not something I've tried for
a while) then yes I suppose pmathml.xsl would defer to pmathmlcss.xsl
which would try to do some fake mathml-in-css-and-javascript rendering
for the mathml elements that are explict but it wouldn't do teh right
thing at all for the document.write script as the styleshete has to
completely re-write the elements to html divs and spans that are then
css styled, an dthis needs to happen when the page is first parsed,
before any script runs, so the math elements would be inserted too late.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Received on Wednesday, 14 December 2005 17:01:18 UTC