Replace
The CAP XML contains the template to execute and text for topic and body of the template. This mode is identified by a new
/alert/info/parameter
with valueName of DynamicTextMode
and a value of Replace
- The Header is populated by the CAP XML field /alert/info/headline.
- The Body is populated by the CAP XML fields /alert/info/description and /alert/info/instruction. The two fields are concatenated with a single space between the two fields. For example, description + “ ” + instruction.
Example XML:
<eventCode> <valueName>SCENARIO</valueName> <value>MONACO_ALERT</value> </eventCode> <headline>Chemical Spill</headline> <description>1 Contaminated waste leaking from tanker in sector 4.</description> <instruction>2 Please evacuate sector 4 in a orthwestdirection.</instruction> <parameter> <valueName>Value</valueName> <value>ON</value> <valueName>DynamicTextMode</valueName> <value>Replace</value> </parameter>
Example:
Header: Chemical Spill
Body:
- Contaminated waste leaking from tanker in sector 4.
- Please evacuate sector 4 in a northwest direction.