Bernd Worsch wrote: > So, how can i do this if the id of my document is stored in another variable? > > e.g. > > <dtml-let doc_id="'SomeDoc'"> > <dtml-call expr="???"> > </dtml-let> <dtml-with "_.getitem(doc_id)"> <dtml-call expr="???"> </dtml-with> HTH, -- Tim Cook, President - FreePM,Inc. http://www.FreePM.com Office: (901) 884-4126 ONLINE DEMO: http://www.freepm.org:8080/FreePM