<?xml version="1.0"?>
<!-- from file: src/example1.cpp -->
<scxml>
   <state name="Turnstile" initialstate="Locked" id="/Turnstile">
      <state name="Locked" id="/Turnstile/Locked">
         <transition event="COIN" target="/Turnstile/Unlocked"></transition>
         <transition event="PUSH" target="/Turnstile/Locked"></transition>
      </state>
      <state name="Unlocked" id="/Turnstile/Unlocked">
         <transition event="COIN" target="/Turnstile/Unlocked"></transition>
         <transition event="PUSH" target="/Turnstile/Locked"></transition>
      </state>
   </state>
</scxml>