[Zope] Get attribuut of a DTML DOCUMENT

Dieter Maurer dieter@handshake.de
Mon, 30 Jul 2001 19:43:47 +0200 (CEST)


r.laarhoven@aca.it writes:
 > I have several documents with 3 properties:
 > - name
 > - games
 > - points
 > 
 > How can i be able to loop through the documents and created a list with the
 > total points and games  (belong to 1 name) in a python script
If you have a DTML Document "d" (e.g. from "ZopeFind" or
"objectValues", you access a property "p" with "d.p"
or "getattr(d,'p')" or "d.getProperty('p')".



Dieter