[Zope] [DTML] creating variables

David Ascher da@ski.org
Fri, 5 Mar 1999 16:35:44 -0800 (Pacific Standard Time)


On Fri, 5 Mar 1999, Pavlos Christoforou wrote:

> On Fri, 5 Mar 1999, David Ascher wrote:
> 
> > What's the equivalent DTML?  Can one create a variable in DTML?
> 
> <!--# with "_.namespace(empty=1)"-->
> ...
> <!--#/with-->

Hmm. I want to create a variable whose value is given by another value.
Doing:

<!--#with "_.namespace(foo=<!--#var id-->)"-->
<!--#var foo-->
<!--#/with-->

doesn't make it through the parser.  

I've tried adding various quotes to no effect.

I think I'm going to work on understanding ExternalMethods -- this syntax
is not made for me. =)

--david