W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2006

[scxml] nested conditions

From: Nestor Urquiza <nestoru@yahoo.com>
Date: Fri, 14 Jul 2006 05:08:36 -0700 (PDT)
Message-ID: <20060714120836.20789.qmail@web50913.mail.yahoo.com>
To: "www-voice@w3.org" <www-voice@w3.org>

Hello all,
After reading http://www.w3.org/TR/scxml/#N109D0 it is
not clear to me if nested "<if>" are allowed. With an
example is the code below supposed to be scxml valid?
<n:if cond="status1 eq 'false'">
   <!-- a first nested condition -->
   <n:if cond="status2 eq 'true'  ">
      <n:assign name="result" expr="'status1 false'"/>
      <n:assign name="result" expr="'statuses
   <!-- another nested condition -->
   <n:if cond="status2 eq 'true'  ">
      <n:assign name="result" expr="'statuses true'"/>
      <n:assign name="result" expr="'status2 false'"/>

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
Received on Friday, 14 July 2006 12:15:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:39 UTC