blob: a226913c910ac703d5ba62313da1eac7644e7744 (
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
30
31
32
33
34
35
36
37
38
39
40
|
<scxml datamodel="ecmascript">
<script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" />
<state id="start">
<state id="invokeNull">
<invoke type="java">
<finalize>
<script>dump(_event);</script>
</finalize>
<content>
</content>
</invoke>
<transition event="*" target="invokeJSON" />
</state>
<state id="invokeJSON">
<invoke type="java">
<content>
{
"foo": "bar",
"baz": 12
}
</content>
<finalize>
<script>dump(_event);</script>
</finalize>
</invoke>
<transition event="*" target="invokeDOM" />
</state>
<state id="invokeDOM">
<invoke type="java">
<content>
<foo></foo>
</content>
<finalize>
<script>dump(_event);</script>
</finalize>
</invoke>
<transition event="*" target="invokeNull" />
</state>
</state>
</scxml>
|