summaryrefslogtreecommitdiffstats
path: root/test/w3c/ecma/test226sub1.scxml
blob: 91ec4cb7007b7240ab65f2db5ca09691dcad2860 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="UTF-8"?>
<!-- when invoked, if var1 has a value notify parent. Then terminate.   -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
  <datamodel>
    <data id="Var1"/>
  </datamodel>
  <state id="s0">
    <transition cond="Var1" target="final">
      <send target="#_parent" event="varBound"/>
    </transition>
    <transition target="final"/>
  </state>
  <final id="final"/>
</scxml>