[Home] [By Thread] [By Date] [Recent Entries]

  • To: Roger Costello <costello@m...>
  • Subject: Re: Expressing mathematical relationships?
  • From: Vladimir Perlov <vladperl@s...>
  • Date: Sat, 14 Jun 2003 10:06:04 -0400
  • Cc: lists.xml.org <xml-dev@l...>

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>
> 



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member