summaryrefslogtreecommitdiffstats
path: root/test/w3c/xpath/test529.scxml
blob: ce850d02b6b6daea07ed6604747cdd585fb100f1 (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
<?xml version="1.0" encoding="UTF-8"?>
<!-- simple test that children workn with <content> -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="xpath" initial="s0">
  <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">
    <onentry>
      <log label="Outcome" expr="'pass'"/>
    </onentry>
  </final>
  <final id="fail">
    <onentry>
      <log label="Outcome" expr="'fail'"/>
    </onentry>
  </final>
</scxml>