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

DescriptionValue
Tests file where test is a filetest operator as defined by Perl. For instance,
test can be -dd for directory test, -ee for exists, x for executable.
fileTest(test,error
msg)
Calls function (arg1,.,argN) for each element in a comma separated list.csvList(function,
arg1, argN)
Templates can contain variables anywhere within a template. When cmgr encounters
a variable, generally defined by a dollar sign $ followed by a name attribute of a var
element, it logically replaces the variable with the var element’s current value attribute.
Template variable replacement utilizes shell style variable replacement algorithm.
The following example shows the various value for a var element with a name attribute
of var1 and a value attribute of 123:
Valuevar Element
abc123 defabc$var1 def
abc123defabc${var1}def
abc$defabc\$def
NOTE: For a variable replacement with multi-valued variables, use the repeat
element.
3.3.3 The cst_version Element
The cst_version element defines the version of the CMGR template specification
used. This guide is the specification for CMGR template version 1.0. The cst_version
element may only be a child of the head element. For example:
<head> <cst_version>1.0</cst_version></head>
NOTE: The cst_version element has no child element and no attributes.
3.3.4 The description Element
The description element is used to encapsulate description text for a template. It is
supported only as a child of the head element.
NOTE: The description element has no child element and no attributes.
3.3.5 The failure Element
The failure element is used to encapsulate element failure message that can be
displayed when the processing of the parent element returns an error.
3.3 Processing/Operational Elements 29