test304.txml 478 B

123456789101112131415161718
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- test that a variable declared by a script can be accessed like any other part of the data model -->
  3. <scxml xmlns="http://www.w3.org/2005/07/scxml" conf:datamodel=""
  4. version="1.0" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0">
  5. <conf:script/>
  6. <state id="s0">
  7. <transition conf:idVal="1=1" conf:targetpass=""/>
  8. <transition conf:targetfail=""/>
  9. </state>
  10. <conf:pass/>
  11. <conf:fail/>
  12. </scxml>