1 2 3 4 5 6 7 8 9 10 11 12 13 14
<scxml datamodel="ecmascript" name="test"> <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" /> <state id="start"> <state id="loop"> <transition event="http" target="loop"> <script> dump(_event); </script> <response status="200" requestexpr="_event.origin" /> </transition> </state> </state> <final id="final" /> </scxml>