diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-27 16:05:27 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-27 16:05:27 (GMT) |
commit | c0e29f9d4574be340d23c88605bf8868b166f718 (patch) | |
tree | 9118eb60caf48830ebbeef70e8b8cf1687735c32 /test/samples/uscxml/test-invoked.scxml | |
parent | 83f0b4ecbd83e83b5404afd5cead7a08966495bf (diff) | |
download | uscxml-c0e29f9d4574be340d23c88605bf8868b166f718.zip uscxml-c0e29f9d4574be340d23c88605bf8868b166f718.tar.gz uscxml-c0e29f9d4574be340d23c88605bf8868b166f718.tar.bz2 |
Polished PHP interface somewhat
Diffstat (limited to 'test/samples/uscxml/test-invoked.scxml')
-rw-r--r-- | test/samples/uscxml/test-invoked.scxml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/test/samples/uscxml/test-invoked.scxml b/test/samples/uscxml/test-invoked.scxml index 2781d31..eb9162e 100644 --- a/test/samples/uscxml/test-invoked.scxml +++ b/test/samples/uscxml/test-invoked.scxml @@ -2,8 +2,28 @@ <scxml datamodel="ecmascript"> <state id="start"> <onentry> - <log expr="'Message from the invoked scxml interpreter'" /> - <send target="#_parent" event="transitionToNext" /> + <script> + foo = { + "atom": "urghs", + "array": [0,1,2,3,4], + "compound": { + "key1": "value1", + "key2": "value2", + "key3": "value3", + } + }; + bar = "This is some string"; + </script> + <log expr="'Message from the invoked scxml interpreter'" type="http://www.w3.org/TR/scxml/#Anything" id="thisOne" /> + <send target="#_parent" event="transitionToNext" namelist="foo"> + <param name="bar" expr="bar" /> + <content> +This is some content! + </content> + </send> </onentry> + + <!-- transition target="done" / --> </state> + <state id="done" final="true" /> </scxml>
\ No newline at end of file |