[Zope] new dtml syntax

Evan Simpson evan@4-am.com
Sun, 16 Jan 2000 18:14:57 -0600


Since others have already pointed out the correct syntax, I'll just add
a side note:

Some HTML editors (cough Dream cough weaver) which merrily ignore the
contents of <!--#var --> style tags will mangle tags of the form
<dtml-var "...">.  The solution is to write <dtml-var expr="...">
instead.

While you're experimenting with the new syntax, be sure to try out
&dtml-foo; as well.  It's great for embedding values in tag attributes.

Cheers,

Evan @ 4-am