Cisco Cisco Customer Voice Portal 8.0(1) User Guide

Page of 157
Figure 12: Example of Tags for Definng a Decision
The knowledge_base example in the preceding figure shows the main tags of the XML file
format for defining a decision. The elements in this XML document are:
rule – This tag names the rule for the decision. There can only be one 
<rule>
 tag in the
document. The tag contains any number of exit states that make up the decision. The optional
default_exit_state
 attribute lists the exit state to return if no other exit states apply
(essentially an else exit state).
exit_state – This tag encapsulates the expressions that when true, return a particular exit
state. The 
name
 attribute must refer to the same value chosen when the decision element was
defined in the Builder for Call Studio. The 
conjugate
 attribute can be either and or or. If
the exit state contains only one expression the conjugate attribute is ignored. The content of
User Guide for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 8.0(1)
45
Chapter 2: Cisco Unified CVP VoiceXML Components in Detail
Unified CVP XML Decisions in Detail