[Zope] assignment in DTML

Andrew Kenneth Milton akm@mail.theinternet.com.au
Thu, 9 Dec 1999 18:01:34 +1000 (EST)


+----[ Milos Prudek ]---------------------------------------------
| I'm a Zope beginner.
| 
| I'd like to surround text 'Hello' with <h1></h1> tags,
| if variable (not attribute) Size is equal to 'big'. I tried this:

| <dtml-if Size='big'><h1></dtml-if>

<dtml-if "Size='big'">...

Double quotes need to surround expressions.

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   | 
ACN: 082 081 472                     |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|