[om] OpenMath and Imaging

Vilya Harvey vilya at nag.co.uk
Mon Sep 27 11:55:28 CEST 1999


Manfred Riem wrote:
> 
> Hi!
> 
>         I'm currently involved in a project that will render
> OpenMath objects. We're thinking about the following layout
> to achieve this.
> 
> 1. OpenMath XML --> 2. OpenMath Object  |
>                                         |-> 4. DisplayTree
>                  3. OpenMath Stylesheet |       |
>                                                 |
>                                          5. JPEG/GIF/Canvas

As has already been mentioned, it is probably worth taking a look at XSL
for the stylesheet language [1]. There are several up-to-date XSL
processors written in Java with the source available [2], that you could
embed into your application; I believe there is even a program to compile
a given XSL stylesheet into a Java class. Using something like that would
probably save you quite a lot of work.

<snip>
> Some notes about point 3:
>         So far I have 6 operators (image-classes). These
> operator classes are the basis for the rendering. The first
> question I've got is simple: "Do those operators cover about
> all there is in rendering OpenMath?"
<snip>

You seem to have left out radicals (square root, cube root, etc.). They're
kind of important... :-)

> We'll be using the JAI library to do the rendering
<snip>

Do you have a URL for the JAI library? I'm interested in having a look at
it.

Vil.
[1] http://www.w3.org/TR/WD-xsl/
[2] Some XML processors in Java:
    James Clark's XT: http://www.jclark.com/xml/xt.html
    IBM's LotusXSL:   http://www.alphaworks.ibm.com/tech/LotusXSL
-- 
Vilya Harvey  <vilya at nag.co.uk>    Wilkinson House  Mob: +44  961 106 505
Computational Mathematics Group   Jordan Hill Road   Wk: +44 1865 511 245
NAG Limited                    Oxford  UK  OX2 8DR  Fax: +44 1865 311 205
--
om at openmath.org  -  general discussion on OpenMath
Post public announcements to om-announce at openmath.org
Automatic list maintenance software at majordomo at openmath.org
Mail om-owner at openmath.org for assistance with any problems



More information about the Om mailing list