[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates
webmaster@zope.org
webmaster@zope.org
Tue, 03 Dec 2002 12:15:49 -0500
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-24
---------------
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!)