Append
The CAP XML contains the template to execute and additional text for the body of the template. This mode is identified by a new
/alert/info/parameter
with valueName of DynamicTextMode
and a value of Append
.- The Header is predefined by the template.
- The Body is modified by appending the CAP XML fields /alert/info/description and /alert/info/instruction.
Let template_body be the current text body predefined in the template.
The fields description, template_body, and instruction are concatenated with a single space between the fields. For example, description + “ ” + scenario_body + “ ” + instruction.
Example XML:
<eventCode> <valueName>SCENARIO</valueName> <value>MONACO_ALERT</value> </eventCode> <headline></headline> <description>1 Hazardous chlorine gas leak.</description> <instruction>2 vacuate the area in a southeast direction.</instruction> <parameter>< valueName>Value</valueName> <value>ON</value> <valueName>DynamicTextMode</valueName> <value>Append</value> </parameter>
Example:
Let template_body = “Hazmat alert. Please follow protocol for hazardous material.”
Header: <pre-defined AtHoc Template Topic>
Body:
- Hazardous chlorine gas leak. Hazmat alert. Please follow protocol for hazardous material.
- Evacuate the area in a southeast direction.