blob: 54590fffe140d4d31496b529a7b40a6c3a2fbef5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<!-- This is invoked in test-communications.scxml from a scxml invoker -->
<scxml datamodel="ecmascript">
<state id="start">
<onentry>
<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>
|