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

webmaster@zope.org webmaster@zope.org
Sun, 22 Sep 2002 04:21:06 -0400


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

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

    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/