[
Lists Home |
Date Index |
Thread Index
]
Hi Roger,
How about this:
<fact>
<_atom>
<_operator>
<rel>bigger</rel>
</_operator>
<_argument>
<measure>inch</measure>
</_argument>
<_argument>
<measure>centimeter</measure>
</_argument>
<_argument>
<value>2.54</value>
</_argument>
</_atom>
</fact>
It's declarative and easy to adapt for rule engine.
Cheers,
Vladimir
> Hi Folks,
>
> Is there any XML technology that is intended for declaratively
> expressing mathematical relationships, e.g.,
>
> Din = 2.54*Dcm (Din = distance in inches
> Dcm = distance in centimeters)
>
> Tc = (5/9)*(Tf-32); (Tc = temperature in degrees Celsius,
> Tf = temperature in degrees Fahrenheit)
>
> etc.
>
> Is MathML intended for this? How about RuleML?
>
> /Roger
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
|