blob: a231a97ae0ee0577073f27afe6a4b7c20b42c8c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?xml version="1.0" standalone="no"?>
<!-- test that the root element of the datamodel is <datamodel> and that <data> elements are its
children-->
<scxml xmlns="http://www.w3.org/2005/07/scxml" initial="s0" version="1.0" datamodel="xpath">
<datamodel>
<data id="foo" expr="2"/>
</datamodel>
<state id="s0">
<transition cond="local-name($foo/..)='datamodel'" target="pass"/>
<transition target="fail"/>
</state>
<final id="pass"/>
<final id="fail"/>
</scxml>
|