[Zope] assignment in DTML

Milos Prudek prudek@nembv.cz
Thu, 09 Dec 1999 08:42:40 +0100


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:

<!--#var standard_html_header-->

<dtml-let Size='big'></dtml-let>
<dtml-if Size='big'><h1></dtml-if>
Hello.
<dtml-if Size='big'></h1></dtml-if>

<!--#var standard_html_footer-->


When I click on Change, I get this:
Invalid attribute name, "size", for tag <dtml-if Size='big'>, on line 4
of
index_html

--
Milos Prudek