W3C home > Mailing lists > Public > www-math@w3.org > December 2004

subscript context xslt analysis

From: Roger I Martin PhD <hypernexdev@hypernexinc.com>
Date: Mon, 06 Dec 2004 18:24:45 -0500
Message-ID: <41B4EA3D.9000909@hypernexinc.com>
To: www-math@w3.org

Hi,

I'm writing xslt transforms that take mathml and generates Java code 
http://sourceforge.net/projects/mathml-x/ during run time binding.  One 
of the difficulties I face is decide how to treat a subscript wrt to 
it's context.  Sometimes there is a different meaning to the subscript:

  <ci type="double">
      <msub>
      <mi>x</mi>
      <mi>i</mi>
    </msub>
  </ci>

is an array of doubles, other times it could be a more stylish 
mathematical grouping of symbols and function as a single variable. Is 
there some distinction that I am overlooking or is it possible to have 
more types defined for example:

  <ci type="double-array">
      <msub>
      <mi>x</mi>
      <mi>i</mi>
    </msub>
  </ci>
let's it be known that the i(or the second child of msub) is really an 
index; not a part of stylish |semantics?

Have a good day,

Roger
|
Received on Tuesday, 7 December 2004 10:32:00 GMT

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