<?xml version="1.0" encoding="utf-8"?>
<scxml name="sm" xmlns="https://www.w3.org/2005/07/scxml" xmlns:xi="https://www.w3.org/2001/XInclude" version="1.0">
<state id="stateA">
<transition event="e1" cond="x" target="stateB"/>
</state>
<state id="stateB">
<transition event="e2" cond="y" target="stateA"/>
</state>
</scxml>