Xmlmath is an expression evaluation engine that takes xml files as input.

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!
send us
an update
GPL (GNU General Public License) 
3.0/5 16
Erik van Zijst
ROOT \ Science and Engineering \ Mathematics
1 XMLMath Screenshot:
Xmlmath project is an expression evaluation engine that takes xml files as input, evaluates the (often mathematical) problem and calculates the result.

Basic Expression StructureContents

An xmlmath expression consists of a tree of nested xml tags. Each tag reads the value of its child nodes, applies an operation to it and returns the result to its parent tag. This is illustrated below with the expression that calculates 1 + 1.

< add xmlns="http://xmlmath.org/1.0" >
< long value="1"/ >
< long value="1"/ >
< /add >

Note: Because the xmlmath expression parser validates the input files against the xmlschema, it is necessary to always include the proper xml namespace directive in the expression's root tag.


· Xmlmath is written in Java 1.5 and as such requires a 1.5 runtime environment. Because xmlmath makes use of specific 1.5 features, older Java environments are currently not supported.
· Although xmlmath uses the open-source xmlbeans library for parsing its expression files, it is not necessary to install xmlbeans separately: the binary distributions of xmlmath have a built-in copy of xmlbeans.

What's New in This Release:

· Xmlmath can now be used as a library.
· Arguments may be passed to expressions.
· if/then/else elements were made optional in "choose", "for", and "sum". Nested "include" URLs are now relative to each other.
· Conditional evaluation with if/then/else was added.
· The stanza/delcare order was switched, so declarations may require stanzas.
· Includes, stanzas, and declarations are allowed directly in "stanza" and "declare".
· "listItem" was added.
· Explicit casting was added.
· "linkBoolean", "inlineBoolean", "listSum", and "rnd" were added.
· Declarations can now be const (evaluated only once).

Last updated on June 13th, 2006

#expression evaluation #evaluation engine #mathematical engine #XMLMath #expression #evaluation #engine

Add your review!