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

webmaster@zope.org webmaster@zope.org
Fri, 27 Dec 2002 16:45:20 -0500

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


    If you set the content-type to 'text/html' then Zope parses your
    template using HTML compatiblity mode which allows HTML's loose
    markup. If you set your content-type to something other than
    'text/html' then Zope assumes that your template is well formed
    XML. Zope also requires an explicit TAL and METAL XML namespace
    declarations for well formed XML.

      % viehmann - May 1, 2002 12:22 pm:
       Maybe new users want to start out properly right away. I'd really like to see a well formed XML example
       either here or even have the above example in well formed XML.

      % Anonymous User - Sep. 22, 2002 4:19 am:
       /requires an explicit/requires explicit/

      % Anonymous User - Sep. 22, 2002 4:21 am:
       /Zope also/In the latter case Zope also/

      % Anonymous User - Dec. 3, 2002 12:15 pm:
       > explicit TAL and METAL XML namespace declarations

       Please, just give the declarations! ( &&*$%#$$-ing namespaces... All they do is cause trouble. TAL works
       because it is like architectural forms!)

      % Anonymous User - Dec. 27, 2002 4:45 pm:
       It is really funny. Before reading this chapter, one has to read the Appendix D first. I thought Appendix
       chapters are more like reference chapters.