[Zope] Simple(?) Syntax Question (dtml-in)

Tim Cook twcook@iswt.com
Fri, 25 Aug 2000 13:00:10 -0500


I want to use the same DTML method for different operations. It
gathers info from properties of DTML Documents and returns a
list. The list is a list of lists.

Each item in the list valid_prj contains a list of two strings,
ie. 

valid_prj = [['abcd','1234'],['efgh','5678']]

I want to only provide the first item of each list in this
SELECT:

...

<dtml-in valid_prj>
  <OPTION value="<dtml-var sequence-item>"><dtml-var
sequence-item></OPTION>
</dtml-in>
 
...

But darn if I can get the right combination for the correct
syntax to get only that first item of valid_prj. 

Thanks,
-- Tim Cook --
FreePM Project Coordinator http://www.freepm.org
OS Health Care Alliance Supporter http://www.oshca.org