Monday 12 May 2008

Orbeon example : Syntax for an if statement within an xf:output tag

In order to make Orbeon evaluate the contents of an instance and to respond based on an IF condition, here's some useful syntax.

The example below will output either 'Items' (for multiple items), or 'Item' for one item in an XML document:


Once again, thanks to the Orbeon forum for their assistance with this question:
http://www.nabble.com/ObjectWeb-OPS---Users-f2537.html

No comments: