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

Re: subscript context xslt analysis

From: Roger I Martin PhD <hypernexdev@hypernexinc.com>
Date: Mon, 10 Jan 2005 15:02:21 -0500
Message-ID: <41E2DF4D.9010206@hypernexinc.com>
To: www-math@w3.org

Hi David,

What you recommended worked very good for single and multi dimensioned 
arrays.  There is the case where in some notations a superscript and 
subscript are used as indexes.  For now I treat them as

<apply>
 <selector/>
 <ci>&alpha;</ci>
 <ci>i</ci>
 <ci>n</ci>
</apply>

for example.  I didn't know what people are thinking for future versions of mathml for indexed variables. The msubsup element
http://www.w3.org/TR/MathML2/chapter3.html#presm.msubsup
equivalent in content markup? 



David Carlisle wrote:

>>Is there some distinction that I am overlooking
>>    
>>
>
>Your markup is dropping in to presentation mathml far too early so you
>are losing semantic information.
>
>To select the ith element of an array I would use
>
><apply>
> <selector/>
> <ci>x</ci>
> <ci>i</ci>
></apply>
>
>Not
>  <ci type="double">
>      <msub>
>      <mi>x</mi>
>      <mi>i</mi>
>    </msub>
>  </ci>
>
>
>  
>
>>or is it possible to have more types defined for example:
>>    
>>
>
>The list of types is actually defined as being open, with just a
>suggested set of types in the REC.
>
>You can also use definitionURL attributes (or attributes in your own
>namespace) to carry any extra information that you need.
>
>
>David
>
>________________________________________________________________________
>This e-mail has been scanned for all viruses by Star. The
>service is powered by MessageLabs. For more information on a proactive
>anti-virus service working around the clock, around the globe, visit:
>http://www.star.net.uk
>________________________________________________________________________
>
>  
>
Received on Monday, 10 January 2005 20:00:38 GMT

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