[Zope] evaluating a "sequence-item" within a dtml-if statement

Roger Mallett rogermallett at hotmail.com
Mon Sep 15 12:25:17 EDT 2003


I am attempting to evaluate a "sequence-item" in a dtml-if statement.

I have made several variations, all of which failed.

The code below fails with:  "invalid syntax (line 1).


    <dtml-in expr="[1,2,3,4,5,6]">
       <dtml-if expr="&dtml-sequence-item;==3">
          &dtml-sequence-item;
       <dtml-else>
            failed
       </dtml-if>
    </dtml-in>


Thank you for any assistance you can provide
RogerM

_________________________________________________________________
Need more e-mail storage? Get 10MB with Hotmail Extra Storage.   
http://join.msn.com/?PAGE=features/es




More information about the Zope mailing list