[om] Manipulating Structured Data

Muthukkaruppan Annamalai mkppan at hotmail.com
Mon Nov 18 04:55:05 CET 2002

The following OM object specifies the summation of member values of list P.  
The assumption here is that the member values are numeric entities.

          <OMS  cd="fns2"  name="apply_to_list"/>
          <OMS  cd="arith1"  name="plus"/>
          <OMV  name="P"/>

What if the members of list P is a complex data type?  Lets say I wish to 
sum up the (P.quantity) attribute of the list members.  Any suggestion how I 
could deal with this situation?

Muthukkaruppan Annamalai
mkppan at cs.mu.oz.au

Protect your PC - get McAfee.com VirusScan Online 
om at openmath.org  -  general discussion on OpenMath
Post public announcements to om-announce at openmath.org
Automatic list maintenance software at majordomo at openmath.org
Mail om-owner at openmath.org for assistance with any problems

More information about the Om mailing list