[Zope] ANNOUNCE: Advanced DTML HowTo

Martijn Pieters mj@antraciet.nl
Mon, 15 Mar 1999 10:39:19 +0100


At 06:43 15/03/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-->
>

How about 

<!--#if "foo and bar"-->
<!-- blah -->
<!--#/if-->

or 

<!--#if "_.getitem('foo', 1) and _.getitem('bar', 1)"-->
<!-- blah -->
<!--#/if-->

So we can confuse each other even more =).


--
M.J. Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-6254545 Fax: +31-35-6254555
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------