[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates

webmaster@zope.org webmaster@zope.org
Wed, 25 Sep 2002 20:32:28 -0400


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

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

      The reasoning behind this ordering goes like this: you often
      want to set up variables for use in other statements, so define
      comes first. The very next thing to do is decide whether this
      element will be included at all, so condition is next; since the
      condition may depend on variables you just set, it comes after
      define. It is valuable to be able to replace various parts of an
      element with different values on each iteration of a repeat, so
      repeat comes before content, replace and attributes. Content and
      replace can't both be used on the same element so they occur at
      the same place. Omit-tag comes last since no other statement are
      likely to depend on it and since it should come after define and
      repeat.

        % Anonymous User - Apr. 12, 2002 6:43 pm:
         typo
         ...since no other statement are likely...
         s/statement/statements/

        % Anonymous User - Sep. 25, 2002 8:32 pm:
         /Omit-tag comes last since no other statement are likely to depend on it
         /The Omit-tag comes last since other statements are independ of it/

         "likely": are there degrees of likelihood for statement dependency? blf