Sun Identity Manager Deployment Reference

Example

<add> <ref>counter</ref> <i>10</i> </add>

In the preceding example, the <add> element represents a call to the function named add. This function is passed two arguments:

The value returned by the add function will then be the result of adding the integer 10 to the current value of the variable counter. Every function call either returns a value or performs an operation on one of its arguments. For example, if the ref call returns the value of the counter, then the <i> call returns the integer 10, and the <add> call returns the addition of the two calls.

Another example is the classic Hello World program, which is written in XPRESS as follows:

<print><s>Hello World!</s></print>