summaryrefslogtreecommitdiffstats
path: root/test/w3c/lua/test529.scxml
blob: ace3214d64855178f9f4c64657b028752191feb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" standalone="no"?>
<!-- simple test that children workn with <content> -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" initial="s0" datamodel="lua">
  <state id="s0" initial="s01">
    <transition event="done.state.s0" cond="_event.data == 21" target="pass">
     </transition>
    <transition event="done.state.s0" target="fail">
     </transition>
    <state id="s01">
      <transition target="s02"/>
    </state>
    <final id="s02">
      <donedata>
        <content>21</content>
      </donedata>
    </final>
  </state>
  <final id="pass"/>
  <final id="fail"/>
</scxml>