[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Theoretical ruminations on SXML and XML


mathml lisp
Hi,

Florent Georges said:
> juanrgonzaleza@c... wrote:
>
>   Hi
>
>> but Content MathML defines a *new* mapping and uses
>
>> <apply><minus/><cn>3</cn></apply>
>
>> because claimed advantages.
>
>   But which advantages?

I asked to MathML folks why something as LISP (divide 3 4) is encoded as

<apply><divide/><cn>3</cn><cn>4</cn></apply>

rather than

<divide><cn>2</cn></divide>

and Stan Devitt replied

<blockquote>
1.  Why the use of an apply "container" instead of defining each operator
such as divide as a "container".
Answers:
   a)  easy to locate the operator in the XML structure
   b)  support for arbitrarily complex operators  (e.g. another apply,
and/or with elaborate presentations)
   c)  ease of extending mathml to use other symbols with associations  to
more formal definitions.
   d)  support use and discussion about the operators outside of the context
of applying them to arguments.

2.  Why the introduction of  operators and symbols as elements?
Answers:
   a)  clearly identifieable role from the rest of the document content
(Try searching a long string or document for meaningful occurrences of "E".)
   b)  elements provide an anchor for definitionURL and attributes
controlling display.
</blockquote>

In fact, If I remember correctly, David Carlisle (also from MathML)
pointed that a similar approach had been taken in last XHTML 2.0 regarding
the encoding of sections and headings (is not the XHTML 1.x model). But
the rest of XHTML model continue based in the old mapping.

If one follow MathML philosophy it appears that a more useful model would
be <apply><em/>···</apply>


>   Regards,
>
> --drkm


Juan R.

Center for CANONICAL |SCIENCE)



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.