| CCXML 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. | ||
| <?xml version="1.0" encoding="UTF-8"?>
<ccxml version="1.0" xmlns="http://www.w3.org/2002/09/ccxml"> <eventprocessor> <transition event="connection.alerting" name="evt"> <accept/> <log expr="'*** CALL ACCEPTED ***'"/> </transition> <transition event="connection.connected" name="evt"> <log expr="'*** CALL CONNECTED, STARTING FETCH ***'"/> <fetch next="'docToFetch.xml'" fetchid="'myFetchID'"/> </transition> <transition event="fetch.done" name="evt"> <goto fetchid="evt.fetchid"/> </transition> <transition event="error.fetch" name="evt"> <log expr="'*** AN ERROR OCCURRED DURING THE FETCH ***'"/> </transition> <transition event="error.*" name="evt"> <log expr="'ERROR OCCURRED: '+ evt.name"/> <exit/> </transition> </eventprocessor> </ccxml> |
| <?xml version="1.0" encoding="UTF-8"?>
<ccxml version="1.0" xmlns="http://www.w3.org/2002/09/ccxml"> <eventprocessor> <transition event="ccxml.loaded"> <log expr="'*** OUR NEW CCXML DOCUMENT HAS BEEN FETCHED! ***'"/> <exit/> </transition> <transition event="error.*" name="evt"> <log expr="'ERROR OCCURRED: '+ evt.name"/> <exit/> </transition> </eventprocessor> </ccxml> |
| ANNOTATIONS: EXISTING POSTS |
| login |