W3C home > Mailing lists > Public > www-math@w3.org > July 2003

Re: <mml:math>..., xsl and InputControl

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 7 Jul 2003 12:40:39 +0100
Message-Id: <200307071140.MAA32626@penguin.nag.co.uk>
To: mortena@mip.sdu.dk
CC: www-math@w3.org

> I want to have both formulas rendered with mathplayer, or whatever the 
> current browser uses, and formulas, that is rendered using InputControl, on 
> the same page.

> So what I'm looking for is a method that overrules the xsl transformations, 
> so that I can make pure non-translated mathml as input to the InputControl 
> applet 

I'm not sure what your input xml looks like, or quite what your output
needs to be, but it sounds like you should be able to modify the
XSLT to get what you need.

Do you mean that you want each formula duplicated, so 
<math><mi>A</mi></math>
appears as
<mml:math><mml:mi>A</<mml:mi></<mml:math> (rendered by the browser)
and also
<applet
 ....
  value="&lt;math>&lt;mi>A&lt;/mi>&lt;/math>"
/>
as a parameter to your control?

or do you mean that some formulae appear in one form, and some another?

> Can this be done at all or should I open a window whenever I 
> wan't to edit a formula...

If you can produce by hand an HTML page that does what you want, then
almost certainly you can generate that page from your input XML using an
XSLT transformation.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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 Monday, 7 July 2003 07:41:06 GMT

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