Re: Viewing MathML

> var xslProc =3D xslTemplate.createProcessor();

I suspect that you are using Firefox/Mozilla's API for calling XSLT from
javascript, IE's APi is different (and older).

The simplest way to call XSLT from all browsers that support it is to
use
<?xml-stylesheet
to reference the XSLT thus avoiding any explict javascript coding.
If on the other hand you need the extra flexibilty that the javascript
API offers, you need to explictly check for different browsers, or to
use one of the libraries that hides the cross browser coding such as
http://dev.abiss.gr/sarissa/

David

Received on Wednesday, 23 April 2008 17:10:38 UTC