[Zope] ANNOUNCE: Advanced DTML HowTo

Doug Wyatt doug@sonosphere.com
Mon, 15 Mar 1999 01:59:03 -0500


At 9:43 +0400 3/15/99, Service Informatique CHSR wrote:
> You say "one shouldn't have to use <!--#var "_['foo']"--> instead of
> <!--#var foo-->."
> However, i find it useful to write:
>
> <!--#if "_['foo'] and _['bar']"-->
> <!-- blah -->
> <!--#/if-->
>
> instead of:
>
> <!--#if foo--><!--#if bar-->
> <!-- blah -->
> <!--#/if--><!--#/if-->

I seem to remember that this works, too:

<!--#if expr="foo and bar"-->

Doug


--
Doug Wyatt                             doug@sonosphere.com
Sonosphere (electric/improv music)     http://www.sonosphere.com/