so i have this loop and i want to count a variable:

<dtml-in wherever>

  <dtml-if sequence-start>
   <dtml-var count-id>
  </dtml-if>

</dtml-in>

but what i really want to count is specific values for id. so let's say
id=='value1', i want to try and do the following:

<dtml-in wherever>

  <dtml-if sequence-start>
   <dtml-var "count-id=='value1'">
  </dtml-if>

</dtml-in>

but no luck. and i have tried several other make-shift syntaxes to no avail.

i do have some other logic that i could use over the course of the loop to
determine the count of distinct values but i was try to do it in far less
code.

anyone got an idea of how to rig this?

thanks in advance,
kyle 


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to