[scxml] nested conditions

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:else>
      <n:assign name="result" expr="'statuses
false'"/>
   </n:else>
<n:else>
   <!-- another nested condition -->
   <n:if cond="status2 eq 'true'  ">
      <n:assign name="result" expr="'statuses true'"/>
   <n:else>
      <n:assign name="result" expr="'status2 false'"/>
   </n:else>
</n:else>
</n:if>
				
Thanks,
Nestor


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Received on Friday, 14 July 2006 12:15:27 UTC