| CCXML Voxeo 1.0 Development Guide | Home | Frameset Home |
| id | Data Type: STRING | Default: none - attribute is required |
| This attribute simply indicates the name of the eventhandler in question. | ||
| statevariable | Data Type: (variable name) | Default: none - attribute is optional |
This attribute denotes the variable name which is the <eventhandler> state variable. | ||
| <?xml version="1.0" encoding="UTF-8" ?> <!-- *************** DECLARE CCXML DOCUMENT TYPE *************** --> <ccxml version="1.0"> <var name="state0" expr="'init'"/> <eventhandler id="'myHandler'" statevariable="state0"> <transition state="'init'" event="ccxml.loaded" name="evt"> <exit/> </transition> <!-- ******************* GENERAL EXCEPTIONS ******************** --> <transition event="error.*" name="evt"> <log expr="'*** ERROR HAS OCCURED [' + evt.error + '] ***'"/> <exit/> </transition> </eventhandler> </ccxml> |
| ANNOTATIONS: EXISTING POSTS |
moshe
|
|
| There /must/ be only one eventhandler per CCXML document according to the last W3C specification. |
| login |