[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML

webmaster@zope.org webmaster@zope.org
Tue, 24 Sep 2002 17:37:50 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#2-64

---------------

    DTML expressions allow you to be more explicit about how to find and
    call variables. Expressions are tag attributes that contain snippets of
    code in the Python language. For example, instead of letting DTML find
    and call *getHippo*, we can use an expression to explicitly pass
    arguments::

      <dtml-var expr="getHippo('with a large net')">

      % kaleissin - May 16, 2002 2:27 pm:
       Don't. Here Be Dragons. (Not to mention escape-hell :) )

      % Anonymous User - Sep. 21, 2002 8:27 pm:
       Hm. a "DTML expression" is an expr inside a dtml-tag, not one made out of dtml-tags.

      % Anonymous User - Sep. 24, 2002 5:37 pm:
       /DTML expressions/Expr attributes/