W3C home > Mailing lists > Public > www-math@w3.org > April 2011

cs String Literal

From: Fraser Goffin <goffinf@gmail.com>
Date: Fri, 22 Apr 2011 16:33:40 +0100
Message-ID: <BANLkTimQc3Z0oHqf3Y=dzS+t6zz4_nWv3w@mail.gmail.com>
To: www-math@w3.org
I am considering using MathML v3 to represent conditional logic within
another XML vocabulary. I can see that there is a <condition> element
and a set of useful operators which can be used with an <apply>.
However, not all my conditions relate to numeric values, some are
dates and others just string comparisons. I noted that there is a <cs>
element which looks like it can be used to contain string literals,
but when I attempt to use it, it will not validate against the mathml3

I want to do something like this, can anyone suggest a way this can be
acheived :-


or ...


I am happy to write my own parser for this, but I want to create a
valid fragment according to the MathML schema rather than something
which is not.


Received on Monday, 25 April 2011 18:23:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:43 UTC