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

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

From: Morten Andersen <mortena@mip.sdu.dk>
Date: Mon, 07 Jul 2003 13:17:56 +0200
Message-Id: <5.2.1.1.0.20030707131309.01d84c00@mailhost.mip.sdu.dk>
To: David Carlisle <davidc@nag.co.uk>
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 and on the same time having mathml rendered beautyfully elsewhere on 
the page. Can this be done at all or should I open a window whenever I 
wan't to edit a formula...







At 10:47 07-07-2003 +0100, David Carlisle wrote:



>   I got a bit further using Paul's server-side code, that changes unicode
>   into UTF. It's ugly but it works.
>
>I didn't try to follow all the details of what that was doing:-)
>"changes unicode into UTF" can't quite be an acurate description though
>as a UTF encoding is in practice the only way to encode the whole of
>Unicode, so if it wasn't UTF* before, it probably wasn't unicode either.
>
>
>
>   1) It seems that Internet explorer converts mathml into something like :
>
>   <mml:math><mml:mrow>...
>
>pmathml.xsl forces all the mathml to be prefixed, as the behavior
>interface that IE uses to talk to MathPlayer requires that at least the
>math element is prefixed, as it is the prefix that triggers IE to use
>the specified behavior (MathPlayer, in this case).
>
>If you find all the places that the string mml:{ occurs in pmathml.xsl
>and remove the mml: then the prefixes will go, but the mathml rendering
>is tied to the mml: prefix so this will stop working,
>
>
>  value="<mat
>
>That would be legal in HTML but it is not well formed XML as you can not
>have any < in an attribute value.
>that must be
>  value="&lt;math
>
>
>If you want the stylesheet to quote this automatically, you could look
>at the code it uses for the techexplorer plugin inteface  which uses
><embed
>   mmldata="&lt;math....
>
>
>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:17:59 GMT

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