A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/DTML.stx#3-32
---------------
The DTML *in* tag iterates over the results of the *actors* script
and inserts a table row into a table for each of the actors
mentioned in the script. Note that inside the table cell, we use
a special name *sequence-item*. *sequence-item* is a special name
that is meaningful within a *dtml-in* tag. It refers to the
"current item" (in this case, the actor name string) during
processing. The HTML source of the Workspace frame when you click
the *View* tab on the 'showActors' method will look something
like::
<html>
<body>
<h1>Actors in the movie Glengarry Glen Ross</h1>
<table border="1">
<th>Name</th>
<tr>
<td>Jack Lemmon</td>
</tr>
<tr>
<td>Ed Harris</td>
</tr>
<tr>
<td>Al Pacino</td>
</tr>
<tr>
<td>Kevin Spacey</td>
</tr>
<tr>
<td>Alan Arkin</td>
</tr>
</table>
</body>
</html>
% micromoon - Nov. 7, 2003 8:49 pm:
I must leave now,but I will come back soon
_______________________________________________
ZDP maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.