A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/ZPT.stx#2-20
---------------
If you set the content-type to 'text/html' then Zope parses your
template using HTML compatiblity mode which allows HTML's "loose"
markup. In this mode, it's possible to enter "non-well-formed"
HTML into a Page Template. However, 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 in order to emit XML. For
example, if you wish to emit XHTML, you might put your namespace
declarations on the 'html' tag::
<html xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal">
% GregLindahl - Jan. 27, 2004 3:21 am:
The second reference to text/html in this paragraph should be text/xml.
% GregLindahl - Jan. 27, 2004 3:22 am:
Doh. "something other than" ;-)
_______________________________________________
ZDP maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.