blob: 026e0fcab8edb11ed1bca212d582d63aa1618c69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?xml version="1.0" encoding="UTF-8"?><!-- test that values passed in from parent process override default values specified in the child, test276sub1.scxml.
The child returns event1 if var1 has value 1, event0 if it has default value 0. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="xpath">
<state id="s0">
<invoke type="scxml" src="file:test276sub1.scxml">
<param name="Var1" expr="1"/>
</invoke>
<transition event="event1" target="pass"/>
<transition event="event0" target="fail"/>
</state>
<final id="pass"><onentry><log label="Outcome" expr="'pass'"/></onentry></final>
<final id="fail"><onentry><log label="Outcome" expr="'fail'"/></onentry></final>
</scxml>
|