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

NOTE: You can not include any attributes in the structure elements.
3.1.1 The template Element
The template element is required. It is the highest level element in the CMGR template.
The template element can have the following child elements:
DescriptionChild Element
Required
head
Optional
prologue
Required
body
3.1.2 The head Element
The head element is required. We recommended that you use the head element to
group elements that must be processed when cmgr is first invoked. For example,
include the default values for your variables in this section before the command gets
executed. The head element can have the following child elements:
DescriptionChild Element
Optional.All configuration elements (See Section 3.2)
Optional.All processing elements (See Section 3.3)
Optional. Only available with the head element.title
Optional. Only available with the head element.description
Optional. Only available with the head element.
If the cst_version option is specified, cmgr checks to
ensure that it supports the listed version. If cmgr does not
support the specified version, it exits with an error and
does not process the template.
cst_version
Optional. Only available with the head element. The
current version number is 1.0
template_version
3.1.3 The prologue Element
The prologue element is optional. After the head element is proccessed, the command
line input is read. The prologue element is then processed. We recommended that
you use the prologue element to group elements that cause the collection and
validation of user input ahead of any actual processing that will affect the system state.
16 Building a Template