From 8e35fad33de1fbecea7c29776f7afab6a4b88a48 Mon Sep 17 00:00:00 2001
From: Kevin Chabowski <ste:set var="temp"><ste:foo /></ste:set>
<ste:bar baz="$temp" />
ste:get will return the content of a variable. The parameter var takes the name of the variable to get. Usefult, if you want to get a variable which name is stored in a variable.
+ Example:
+
+ This will get the variable with the name that is stored in the variable <ste:get var="$foo" />
foo.
+
To perform mathematical calculations, you can use ste:calc. ste:calc calculates the mathematical formula it is wrapped around and returns the result. The formula is in the usual infix-notation [ext. Link] and has these operators: +, -, *, / and ^. Numbers are always decimal, the decimal mark is . and numbers can be prefixed with an - to indicate a negative number. It is a good idea to wrap a negative number in brackets to prevent wrong evaluation (because - is also an operator). Calculations can be grouped with brackets: ( and ).
Real numbers are supported, complex numbers not.
-- cgit v1.2.3-70-g09d2