CCXML Voxeo 1.0 Development GuideHome  |  Frameset Home

This documentation is for CCXML 1.0-Voxeo, which has been superceded by CCXML 1.0-W3C. The CCXML-Voxeo platform is not being updated any longer. The CCXML 1.0-W3C version, however, has many new features and is actively being enhanced. If you're writing a new CCXML application, you should use CCXML 1.0-W3C. Click here for the CCXML 1.0-W3C documentation.
<ccxml>  element

The <ccxml> element is the parent tag of any CCXML document, which encloses the entire contents of the document. Any child elements are executed in document order before the target <eventhandler> elements are reached in the document initialization.


usage
<ccxml version="STRING" xmlns:voxeo="http://community.voxeo.com/xmlns/ccxml">


attributes
versionData Type: STRINGDefault: none - attribute is required
The version of this CCXML document (required). The only allowable version number is 1.0.
xmlns:voxeoData Type: http://community.voxeo.com/xmlns/ccxmlDefault: none - attribute is optional
This attribute defines the XML namespace for any extension elements. This attribute is only required when a developer is using a voxeo-specific CCXML element extension, (such as 'voxeo:sendemail'). The only allowable value for this attribute is 'http://community.voxeo.com/xmlns/ccxml'



parents
none


children
<eventhandler> <var>


code samples
<Ccxml-version> sample
<?xml version="1.0" encoding="UTF-8"?>
<ccxml version="1.0">
  <eventhandler>
    <transition event="connection.CONNECTION_ALERTING" name="evt">
      <accept/>
    </transition>

    <transition event="connection.CONNECTION_CONNECTED">
      <log expr="'Call was answered.'"/>
      <disconnect/>
    </transition>

    <transition event="call.CALL_INVALID">
      <exit/>
    </transition>

  </eventhandler>
</ccxml>



additional links
W3C Specification


  ANNOTATIONS: EXISTING POSTS
0 posts - click the button below to add a note to this page

login



© 2008 Voxeo Corporation  |  Voxeo IVR  |  VoiceXML & CCXML IVR Developer Site