| CCXML Voxeo 1.0 Development Guide | Home | Frameset Home |
| fetchid | Data Type: (ECMAScript Expression) | Default: none - attribute is required |
| This attribute indicates the ID of any document referenced in a fetch operation, which is gathered with the fetchid. A sucessful fetch completion additionally provides a property whose value is the fetch ID of the document being fetched. | ||
| sessionid | Data Type: (ECMAScript Expression) | Default: none - attribute is optional |
| The sessionid attribute is an expression resolving to a platform-defined unique identifier that denotes the newly-instantiated thread of control. | ||
| start | Data Type: (ECMAScript Expression) | Default: none - attribute is optional |
| Not Enabled The start attribute indicates an event object which is to be the starting event for the newly instantiated thread of control. This event will be the initial event sent to the document that has been started by this event, and the endpoint which originated this event will be inherited by the newly created thread of control. | ||
| <?xml version="1.0" encoding="UTF-8" ?> <ccxml version="1.0"> <var name="state0" expr="'init'"/> <eventhandler statevariable="state0"> <transition state="'init'" event="ccxml.loaded" name="evt"> <assign name="state0" expr="'fetching'"/> <fetch next="'http://myserver.com/mycool.xml'" fetchid="'fetch1'"/> </transition> <!-- ******* FETCH SUCCESSFUL / CREATE NEW CCXML SESSION ******* --> <transition state="'fetching'" event="ccxml.fetch.done" name="evt"> <createccxml fetchid="evt.fetchid" sessionid="myNewSession"/> </transition> <transition state="'fetching'" event="error.fetch" name="evt"> <log expr="'*** FETCH ERROR [' + evt.error + '] ***'"/> <exit/> </transition> <!-- ******************* GENERAL EXCEPTIONS ******************** --> <transition event="error.*" name="evt"> <log expr="'*** ERROR HAS OCCURED [' + evt.error + '] ***'"/> <exit/> </transition> </eventhandler> </ccxml> |
| ANNOTATIONS: EXISTING POSTS |
| login |