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

RE: MathML Presentation to content transformation

From: Bernhard Keil <Bernhard.Keil@soft4science.com>
Date: Mon, 5 May 2003 21:34:28 +0200
To: "Robert Miner" <RobertM@dessci.com>, <www-math@w3.org>
Message-ID: <IIEOKCCPKDALHBHODAENGEDPCGAA.Bernhard.Keil@soft4science.com>

Like Robert has stated, it is not possible to convert presentation markup to content markup in general.
In simple cases a heuristic approach can lead to the right result, but this
is far away from a general solution that can be used without human interaction.

A presentation markup like this:

<math xmlns="http://www.w3.org/1998/Math/MathML">

can only be converted to the following content markup:

<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
  <ci> X </ci>

by phoning the author and asking him whether this is what he has mentioned.

Bernhard Keil

soft4science             Bernhard Keil
Nibelungenstr. 4        80639 Munich       Germany
+49 89 / 95 411 088  http://www.soft4science.com
+49 173 / 72 53 669  http://www.MathML.net

-----Original Message-----
From: www-math-request@w3.org [mailto:www-math-request@w3.org]On Behalf
Of Robert Miner
Sent: Monday, May 05, 2003 7:26 PM
To: www-math@w3.org
Subject: Re: MathML Presentation to content transformation


Max Froumentin wrote:

> benoît encelle <encelle@irit.fr> wrote:
> > i am looking for transformation tools that convert MathML
> > Presentation markup expressions to MathML Content markup expressions
> As part of the Universal MathML stylesheet, David Carlisle has
> an XSLT transform to do just that. The stylesheet is at
> http://www.w3.org/Math/XSL/ctop.xsl
> and more information is at
> http://www.w3.org/Math/XSL/Overview-tech.html
> Feel free to ask further questions on this list.

I think you've got the direction backwards Max.  The stylesheet only
does content -> presentation, and not presentation -> content, which
is much harder, and not possible in full generality, of course.

The only systems I know that attempt the hard direction are Maple,
Mathematica and the WebEQ Developer Suite tools.  None of these is
easily scriptable, for a batch process, say, though the next version
of the WebEQ tools will have more facilities in this direction.


Dr. Robert Miner                                RobertM@dessci.com
MathML 2.0 Specification Co-editor                    651-223-2883
Design Science, Inc.   "How Science Communicates"   www.dessci.com
Received on Monday, 5 May 2003 15:34:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:33 UTC