[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML
webmaster@zope.org
webmaster@zope.org
Sat, 21 Sep 2002 19:02:40 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#3-25
---------------
Some attributes don't have values. For example, you can convert
an inserted variable to upper case with the *upper* attribute::
<dtml-var exclamation upper>
% Anonymous User - June 6, 2002 9:15 am:
is "exclamation" a variable like "wingspan" or an attribute like "missing" in the examples above?
% mcdonc - June 6, 2002 9:18 am:
the former (a variable)
% Anonymous User - June 25, 2002 4:52 am:
exclamation is a variable, upper is an attribute which doesn't have a value
% Anonymous User - Sep. 21, 2002 7:02 pm:
to be exact: its (the name of) a variable; the canonical dtml-tag here is
<dtml-var name="exclamation" upper>
Zope has plenty of defaults to ease life, but some of these are tripwires for newbies.