In XPRESS, literal values are written as text contained with an XML element. The element name is the name of a function, and the literal text is the argument to the function. The following functions are provided for constructing simple atomic data types.
Builds a value of type list by evaluating each of the argument expressions and concatenating the return values. The expression can take multiple arguments. Null values are not filtered.
<array> <s>apples</s> <s>oranges</s> <s>wiper blades</s> </array>
Constructs an integer value. The function takes one argument, which must be literal text. The text should contain only numeric digits and can be optionally preceded by a plus or minus.
<i>0</i>
<i>42</i>
<i>-1234</i>
Builds a value of type list by evaluating each of the argument expressions and concatenating the return values. The expression can take multiple arguments. Null values will be filtered.
<list> <s>apples</s> <s>oranges</s> <s>wiper blades</s> </list>
Creates a map that consists of the key-value pairs of each subexpression.
<map> <!--Key 1--> <!--Value 1--> <!--Key n--> <!--Value n--> </map>
Constructs a null value.
<null/>
<null></null>
Constructs a string value. The function takes one argument, which must be literal text. (Length is constrained only by the amount of contiguous memory available in your Java environment.)
<s>Now is the time</s>