1 2 3 4 5 6 7 8 9
<!-- This is an example substate defined in - an external file and included by Main.scxml. --> <state id="Test2Sub1"> <onentry> <log expr="'Inside Test2Sub1'"/> </onentry> <transition event="Event2" target="Test2Sub2"/> </state>