[Zope] How do I use "or" (|) with <dtml-if>

Stephan Richter srichter@cbu.edu
Sun, 14 Nov 1999 21:18:18 -0600


Harry,

First the general answer: Every logic and expression evaluation follows the
syntax guide of Python. If you have problems with writing expressions for any
tag just check the Python Documentation. They do an awesome job in explaining
the Syntax.

Here the answer to you specific question: Python does not use | as a keyword
but instead the keyword "or".
Therefore, <dtml-if "BGCOLOR or VLINK"> should do the job.

regards,
stephan
 --
Stephan Richter
iXL - Software Designer and Engineer
CBU - Physics, Computer Science and Chemistry Student