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

nobody@nowhere.com nobody@nowhere.com
Tue, 27 Aug 2002 11:03:13 -0400


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

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

    Create a new Page Template called "entries.xml" in your guest book
    folder with the following contents::

      <guestbook xmlns:tal="http://xml.zope.org/namespaces/tal">
        <entry tal:repeat="entry python:here.objectValues('DTML Document')">
          <comments tal:content="entry/document_src">Comment goes here...</comments>
        </entry>
      </guestbook>

      % Anonymous User - Aug. 27, 2002 11:03 am:
       why is there a 'python:' word in the tal:repeat attribute? previously in the html examples it is not used in
       tal:repeat attributes