blob: 89f55a72e80562b3b8544d068b50e504a8f91d90 (
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
|
<?xml version="1.0"?>
<!-- test that expr can be used to assign a value to a var. This test uses early binding -->
<scxml initial="s0" version="1.0" conf:datamodel="" binding="early" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
<state id="s0">
<transition conf:idVal="1=2" conf:targetpass=""/>
<transition conf:targetfail=""/>
</state>
<state id="s1">
<datamodel>
<data conf:id="1" conf:expr="2"/>
</datamodel>
</state>
<conf:pass/>
<conf:fail/>
</scxml>
|