Change your code to <dtml-let foo="'blah'"> <dtml-var foo> </dtml-let> Notice the single quotes within the double quotes, the let tag takes a string and does a sort of eval on it, this means that strings have to be quoted within the string. If you see what I mean ;?) Phil phil@philh.org -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Ainis Sent: Wednesday, September 29, 1999 7:36 AM To: zope@zope.org Subject: [Zope] problem with let tag Hello ALL, According to documentation zope.org this should work: <dtml-let foo="blah"> <dtml-var foo> </dtml-let> but it does not, I get an error Error Type: NameError Error Value: blah It seems that it considers blah as a variable, so how could I tell zope that it's just a string? Best regards, Ainis mailto:ainis@mindless.com _______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope (To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )