[Zope] [DTML] creating variables

Pavlos Christoforou pavlos@gaaros.msrc.sunysb.edu
Sat, 6 Mar 1999 15:03:10 -0500 (EST)


On Fri, 5 Mar 1999, David Ascher wrote:

> 
> <!--#with "_.namespace(foo=<!--#var id-->)"-->
> <!--#var foo-->
> <!--#/with-->
> doesn't make it through the parser.  
> 
> I've tried adding various quotes to no effect.

You cannot nest DTML but you can use _[] to access the namespace. For
instance you could do:
<!--#with "_.namespace(foo=_['id'])"-->

Have a nice weekend

Pavlos