Revision control

++ <?xml version="1.0" encoding="UTF-8"?>
++ <!--
++ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
++
++ Licensed under the Apache License, Version 2.0 (the "License");
++ you may not use this file except in compliance with the License.
++ You may obtain a copy of the License at
++
++
++ Unless required by applicable law or agreed to in writing, software
++ distributed under the License is distributed on an "AS IS" BASIS,
++ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ See the License for the specific language governing permissions and
++ limitations under the License.
++ -->
++ <scxml
++ datamodel="ecmascript"
++ version="1.0">
++
++ <datamodel>
++ <data id="i" expr="1"/>
++ </datamodel>
++
++ <parallel id="p">
++
++ <transition target="done" cond="i === 100"/>
++
++ <transition event="bar">
++ <assign location="i" expr="i * 20"/>
++ <log expr="i"/>
++ </transition>
++
++ <state id="a">
++ <state id="a1">
++ <transition event="foo" target="a2">
++ <assign location="i" expr="i * 2"/>
++ <log expr="i"/>
++ </transition>
++ </state>
++
++ <state id="a2">
++ </state>
++ </state>
++
++ <state id="b">
++ <state id="b1">
++ <transition event="foo" target="b2">
++ <assign location="i" expr="Math.pow(i,3)"/>
++ <log expr="i"/>
++ </transition>
++ </state>
++
++ <state id="b2">
++ </state>
++ </state>
++
++ <state id="c">
++ <transition event="foo">
++ <assign location="i" expr="i - 3"/>
++ <log expr="i"/>
++ </transition>
++ </state>
++
++ </parallel>
++
++ <state id="done"/>
++
++ </scxml>
++
++
++