Hi, I want to create a list of folders which really contain an index_html DTML document or DTML method, how to do that in PythonScript ? What I've done is: --- CUT --- mylist = [] for folder in context.objectValues(['Folder']) : if hasattr(folder, 'index_html') : mylist.append(folder) return mylist --- CUT --- The problem with the above code is that if index_html is acquired from the parent folders my hasattr test is true. I want it to be false in the case of acquisition. Please could someone tell me how to do ? thanks in advance Jerome Alet - alet@unice.fr - http://cortex.unice.fr/~jerome Fac de Medecine de Nice http://wwwmed.unice.fr Tel: (+33) 4 93 37 76 30 Fax: (+33) 4 93 53 15 15 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE