W3C home > Mailing lists > Public > www-math@w3.org > April 2008

Re: Viewing MathML

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 23 Apr 2008 18:09:05 +0100
Message-Id: <200804231709.m3NH95ZV028996@quetzal.nag.co.uk>
To: donalson9@gmail.com
CC: www-math@w3.org



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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:13:01 GMT