EPScript/Examples

From EPrints Documentation
Revision as of 15:44, 4 October 2006 by Moj (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Examples

Pluralising the editors of a book:


<if test="type = 'book' and is_set(editors)">
  <print expr="editors" />, (ed<if test="length(editors) gt 1">s</if>
</if>