HP-UX CMGR A.02.00 Administrator's and Developer's Guide

NOTE: The failure element has no child element and no attributes.
3.3.6 The group Element
The group element is a generic grouping element. It can be used to group elements to
be executed under a common condition.
The group element can have the following child elements:
DescriptionChild Element
OptionalAll configuration elements (See Section 3.2)
OptionalAll processing elements (See Section 3.3)
NOTE: The group element has no attributes.
3.3.7 The help Element
The help elements are used to encapsulate help text associated with the template or
elements within a template.
NOTE: The help element has no child element.
The help element can have the following attributes:
DescriptionAttribute
Optional. Common attribute.
if
Optional. Common attribute.
if_op
3.3.8 The repeat Element
The repeat element lets you replace multi-valued variables. When replacing variables,
cmgr duplicates the contents of the repeat element once per variable value. If the
repeat element contains multiple multi-valued variables, and the variables do not
have an equal number of values, cmgr returns an error value of 1.
For example, using variables x=color, y='1', '2', '3', and z='red',
'yellow','green', the following program:
<repeat vary="y, z">
The $x $y is $z.
</repeat>
would generate the following output:
30 Building a Template