- From: <fred.wang@free.fr>
- Date: Sun, 26 Oct 2008 10:24:29 +0100
- To: Paolo Salvarezza <paolo.salvarezza@gmail.com>
- Cc: Vladislav Ivanistsev <olunet@gmail.com>, www-amaya@w3.org
Selon Paolo Salvarezza <paolo.salvarezza@gmail.com>: > After your answers, I agree with both of you. > Naturally, if I would keep a personal knowledge base written entirely in xml > and have to interface with multiple operating systems, I could also use a > portable version of Firefox, for windows / unix, solving also the > compatibility issues. > But how would be possible to implement the second idea, that is: > > - put in the html both Math-ML and jpeg figure > - if the browser can read the Math-ML, then ignore the image > - if the browser can't understand Math-ML, then load the image > > Is there a solution which can be afforded with XML techniques, not relying > on third party applications? > Obviously, I'ld like ALL PCs could interpret ALL standardized XML scripts, > but.... I don't know whether one can add conditional processing on the browser capabilities using XML techniques only. You can do it with server scripts (PHP for instance) or with Javascript/DOM. However maybe the better way is to use MathML and give alternate pages with images. In any case, you need to convert each MathML fragment into an image and then handle all the generated images (load it on your server, include them in the pages)... what is certainly really painful. Finally, there is a MathML plugin for IE [1] and I was told it makes IE accept xml mime type. Nevertheless, people visiting your site need to download the plugin and it's not more difficult than installing a W3C-compliant browser... Fred [1] http://www.dessci.com/en/products/mathplayer/ > Thanks to both ! > 2008/10/23 Vladislav Ivanistsev <olunet@gmail.com> > > > Hi Paul, hi Frédéric! > > I agree with Frédéric. And about scripting. It is better to add xslt > > stylesheet (for example, via php), which makes also possible to use webkit > > based browser to display mathml correctly. Also, if your document is proper > > xml, I wounder if any script could make it html. The problem is IE does not > > support xml. > > Vlad > > >
Received on Sunday, 26 October 2008 09:25:04 UTC