W3C home > Mailing lists > Public > www-math@w3.org > January 2001

Re: Interfacing WebEQ with Maple

From: Stan Devitt <jsdevitt@stratumtek.com>
Date: Mon, 22 Jan 2001 23:10:49 -0500
Message-ID: <001e01c084f2$77fa7a70$6961a8c0@devitt.local>
To: "Robert Miner" <RobertM@dessci.com>, <baighomara@hotmail.com>
Cc: <www-math@w3.org>
Thanks Robert.

This summarizes the process nicely.

I would also add that the conversion to and from MathML
notation might best be done at the  Maple end as it has some
capability to parse generic xml data and transform
it into Maple function calls.  Write the Maple 
functions and you are done.  This is fairly easy
for simple content MathML.

I would also advise contacting Waterloo Maple to
see where they are in terms of their handling
of MathML as my understanding is that 
there is work in progress.

Stan Devitt

----- Original Message ----- 
From: "Robert Miner" <RobertM@dessci.com>
To: <baighomara@hotmail.com>
Cc: <www-math@w3.org>
Sent: Monday, January 22, 2001 1:13 PM
Subject: Re: Interfacing WebEQ with Maple

> Hi.
> > My question is that would someone be able to suggest how to make
> > webeq interface with Maple???
> Here is how I would do it.
> 1) Construct an HTML page with an instance of the WebEQ Equation Input
>    Control (EIC) in it.
> 2) Write a JavaScript handler to extract the MathML markup from the
>    EIC and send it back to a URL on the server.
> 3) Write a handler servlet or CGI script or whatever at that URL to
>    take the MathML, connect to a server-side copy of Maple, and get
>    the Maple result back.
> 4) Have the script return the output in whatever form is appropriate.
>    This generally involves parsing the Maple output and generating
>    MathML or graphics.
> Note, as I said in my earlier response, unless you are a pretty
> accomplished Web programmer, I wouldn't attempt this program, since
> each of these steps in non-trivial.  Also, until a new version of
> Maple comes out that directly understands MathML, you would have to do
> some serious processing on the MathML input to turn it into something
> Maple could understand.  
> --Robert
> ----------------------------------------------------------------
> Robert Miner                          email: RobertM@dessci.com
> Design Science, Inc.                  phone: 651-223-2883
> http://www.dessci.com
> ----------------------------------------------------------------
Received on Monday, 22 January 2001 23:12:08 UTC

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