[Zope] dtml syntax (was YA newbie question)

ethan mindlace fremen mindlace@digicool.com
Fri, 09 Jun 2000 16:30:02 -0600


Tino Wildenhain wrote:

> 
> the reason for this is: anything inside "" is a python expression,

mindlace puts on his "DTML cop" hat.

Ok, with practically all dtml tags, you can do:

<dtml-foo name="bar">  or <dtml-foo expr="bar - 1">

which can be abbreviated as:

<dtml-foo bar> or <dtml-foo "bar - 1">

So anything inside "" is not necessarily a python expression.  Anything inside
expr="" most certainly is.

ethan mindlace fremen
Zopatista Community Liason