diff options
Diffstat (limited to 'test/samples/uscxml/test-custom-executable-content.scxml')
-rw-r--r-- | test/samples/uscxml/test-custom-executable-content.scxml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/samples/uscxml/test-custom-executable-content.scxml b/test/samples/uscxml/test-custom-executable-content.scxml new file mode 100644 index 0000000..a40af93 --- /dev/null +++ b/test/samples/uscxml/test-custom-executable-content.scxml @@ -0,0 +1,19 @@ +<scxml datamodel="ecmascript"> + <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" /> + <state id="start"> + <onentry> + <fetch + target="http://data.wien.gv.at/daten/wfs?service=WFS&request=GetFeature&version=1.1.0&typeName=ogdwien:BAUMOGD&srsName=EPSG:4326&outputFormat=json&maxfeatures=5" + callback="data.wien" + type="json" /> + </onentry> + <state id="wait"> + <transition event="data.wien" target="final"> + <script> + dump(_event); + </script> + </transition> + </state> + </state> + <final id="final" /> +</scxml>
\ No newline at end of file |