Macaulay2 » Documentation
Packages » OpenMath :: val
next | previous | forward | backward | up | index | toc

val -- Evaluate an XMLnode containing OpenMath

Synopsis

Description

i1 : t = parse ///<OMA><OMS cd="arith1" name="plus"/><OMI>1</OMI><OMI>2</OMI></OMA>///

o1 = <OMA
       <OMS cd="arith1" name="plus"
       <OMI "1"
       <OMI "2"

o1 : XMLnode
i2 : val t

o2 = 3

See also

Ways to use val:

For the programmer

The object val is a method function.