| 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. | ||
| <?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 / GOTO NEW CCXML DOCUMENT ******* --> <transition state="'fetching'" event="ccxml.fetch.done" name="evt"> <goto fetchid="evt.fetchid"/> </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 |