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

webmaster@zope.org webmaster@zope.org
Sat, 25 Jan 2003 11:01:37 -0500


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

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

    Page Templates use the Template Attribute Language (TAL).  TAL
    consists of special tag attributes. For example, a dynamic page
    title might look like this::

      <title tal:content="here/title">Page Title</title>

      % Anonymous User - Sep. 10, 2002 11:15 am:
       This info regarding TAL should have accompanied or preceded the part of Chapter 3 "Coding Logic with
       Scripts", where I first came across it in some example code and had no idea what it was.

      % Anonymous User - Oct. 4, 2002 9:26 am:
       Where is the keyword "here" defined? Is this just defined for tal expressions only? What does it mean? Why
       don't any of the docs explain it?

      % Anonymous User - Dec. 27, 2002 4:06 pm:
       See Appendix D. here means the object on which the page template will be applied. I know it is kind of
       frustrating to read the Appendix first and then the basic chapter.

      % Anonymous User - Jan. 25, 2003 11:01 am:
       You should really scrap DTML switch to XSLT. Much more powerful, and a standard to boot.