W3C home > Mailing lists > Public > www-math@w3.org > June 2007

RE: How to handle a where-list in MathML

From: Robert Miner <robertm@dessci.com>
Date: Wed, 6 Jun 2007 15:15:06 -0700
Message-ID: <D1EFB337111B674B8F1BE155B01C6DD601EAD97C@franklin.corp.dessci>
To: "Robert Muetzelfeldt" <r.muetzelfeldt@ed.ac.uk>
Cc: <www-math@w3.org>

Hi.

This seems like a reasonable solution, except that I would be inclined
to use a <csymbol> instead of a <ci> for the WHERE.  Since the WHERE is
being used as an operator and not a variable, that would better capture
the semantics.

--Robert

Robert Miner
Director, New Product Development

Design Science, Inc.
140 Pine Avenue, 4th Floor
Long Beach, California  90802
USA
Tel:  (651) 223-2883
Fax:  (651) 292-0014
robertm@dessci.com
www.dessci.com
~ Makers of MathType, MathFlow, MathPlayer, WebEQ, Equation Editor,
TexAide ~


> -----Original Message-----
> From: www-math-request@w3.org [mailto:www-math-request@w3.org] On
Behalf
> Of Robert Muetzelfeldt
> Sent: Wednesday, June 06, 2007 11:39 AM
> To: www-math@w3.org
> Subject: How to handle a where-list in MathML
> 
> 
> I've been involved in the development of a mathematical modelling tool
> which permits statements of the form:
>    expression WHERE assignment1, assignment2
> in order to simplify complex expressions.
> 
> Example:
>    2*a+3*a^2+b+b^2 WHERE a=5+c*2, b=17-d
> 
> I'd like to represent the whole statement as a single MathML
structure.
> 
> My intention is to use
> <apply>
>    <ci>WHERE</ci>
>    expression
>    assignment1
>    assignment2
>    ....
>    assignmentn
> </apply>
> where 'expression', 'assignment1', 'assignment2' etc stand for the
> appropriate content MathML.
> 
> Is this an acceptable solution, or is there a better way of doing
this?
> 
> Thanks!
> Robert Muetzelfeldt
> 
Received on Wednesday, 6 June 2007 22:15:19 GMT

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