Steven, I may be wrong but I suspect that it is because it doesn’t translate a string containing a '.' into object.attribute or in this case object.object. I'd wait (which I will also) for a better answer, but I've struggled with this myself and just be that I am only trying to identify one level at a time when using variables. <dtml-with interface> <dtml-with "_.getitem(uData.get('zone'))"> <dtml-with images> <dtml-var image> </dtml-with></dtml-with></dtml-with> where uData.get('zone') is my session variable string. Good luck, Paul Zwarts -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of Steve Crook Sent: Thursday, October 25, 2001 11:50 AM To: 'zope@zope.org' Subject: [Zope] Yet another newbie question! As a total newbie I'm struggling to get to grips with dtml etc. I'm really puzzled by that following: the following line works fine in my application: <dtml-with expr="French.Folder1"> and so does this: <dtml-let nodename="'French'"> <dtml-with expr="_.getitem(nodename,1)"> but if I try: nodename="'French.Folder1'" <dtml-with expr="_.getitem(nodename,1)"> it doesn't work! In the interests of my receding hairline, can anyone offer an explanation? Many thanks Steve networkers interactive sa scrook@networkers.ch www.networkers.ch phone (national) 0848 822 828 phone (international) +41 848 822 828 Fax: +41 (0)26 469 09 99 4 route d'Yverdon 1028 Préverenges Switzerland _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )