| CCXML 1.0-W3C 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"> <accept/> <log expr="'*** CALL ACCEPTED ***'"/> </transition> <transition event="connection.connected"> <log expr="'*** CALL CONNECTED, STARTING FETCH ***'"/> <fetch next="'docToFetch.xml'" fetchid="'myFetchID'"/> </transition> <transition event="fetch.done"> <goto fetchid="event$.fetchid"/> </transition> <transition event="error.fetch"> <log expr="'*** AN ERROR OCCURRED DURING THE FETCH ***'"/> </transition> <transition event="error.*"> <log expr="'ERROR OCCURRED: '+ event$.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="event$"> <log expr="'ERROR OCCURRED: '+ event$.name"/> <exit/> </transition> </eventprocessor> </ccxml> |
| ANNOTATIONS: EXISTING POSTS |
| login |