[om] MathML and OpenMath on csymbol syntax

David Carlisle davidc at nag.co.uk
Fri Aug 30 13:15:13 CEST 2002


    <apply> 
    <csymbol encoding="OpenMath"
             definitionURL="http://www.openmath.org/cd/BesselFunctions.ocd">
      <msub><mi>J</mi><mn>0</mn></msub> 
    </csymbol> 
    <ci>y</ci> 
    </apply>
    
    <apply>
      <csymbol encoding="OpenMath"
               definitionURL="http://www.openmath.org/cd/BesselFunctions.ocd">
        BesselJ
      </csymbol>
    </apply>
    
    It seems
    that the OpenMath suggestion is actually translatable (since an OMS
    needs the function name), but for MathML, the presentation data is
    also important. Which approach is being used by people? 


The default presentation of a csymbol is its content so  unless you want
it to appear as BesselJ(y) then the first form looks more correct.
As you comment though for translation from/to MathML you really want to
keep the OM symbol name in the encoding somewhere.

I think that the best place to put this is in the definitionURL as in

    <apply> 
    <csymbol encoding="OpenMath"
             definitionURL="http://www.openmath.org/cd/BesselFunctions.ocd#BesselJ">
      <msub><mi>J</mi><mn>0</mn></msub> 
    </csymbol> 
    <ci>y</ci> 
    </apply>
    


David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
--
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