The example below will output either 'Items' (for multiple items), or 'Item' for one item in an XML document:
<xf:output value="if (count(/items/item) lt 2) then 'Item' else 'Items'" />
Once again, thanks to the Orbeon forum for their assistance with this question:
http://www.nabble.com/ObjectWeb-OPS---Users-f2537.html
0 comments:
Post a Comment