Cisco Cisco Unified Customer Voice Portal 11.0(1) 开发者指南

下载
页码 79
C
HAPTER 
3:
 
S
ESSION 
API
 
 
C
ISCO 
CVP V
OICE
XML 3.1
 
 
  
Programmer 
Guide 
 
application. The contents of this tag is formatted according to the specification for using 
languages in VoiceXML (e.g. “en-US”). 
encoding 
– This tag holds the encoding to use for the root document. The contents of this 
tag is formatted according to the specification for encoding XML pages (e.g. “UTF-8”). 
vxml_property 
– This tag can appear any number of times listing the VoiceXML 
properties to add to the root document. Typically most voice browsers will take a 
property set here as an indication that it apply to the entire application. The 
name
 attribute 
lists the name of the property and the tag itself encapsulates the value. 
vxml_variable 
– This tag can appear any number of times listing the VoiceXML variables 
to add to the root document. A variable set in the root document is available to all 
VoiceXML pages in the application. The 
name
 attribute lists the name of the variable and 
the tag itself encapsulates the value. 
Again, these two documents are sent as HTTP POST arguments to any URL using the XML 
API. The documents mirror all the functionality provided in the Java API to obtain session 
information. Changing session information, such as setting session data, is done in the response 
XML document. Since each component has a separate response document, they are described in 
each component’s individual chapter. 
 
 
Copyright 2001 - 2005 Audium Corporation.  All Rights Reserved. 10/05
 
25