[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Creating Basic Zope Applications
webmaster@zope.org
webmaster@zope.org
Sun, 22 Sep 2002 12:18:22 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SimpleExamples.stx#3-78
---------------
As you can see, DTML is equally adept at creating XML as it is at
creating HTML. Simply embed DTML tags among XML tags and you're
set. The only tricky thing that you may wish to do is to set the
content-type of the response to *text/xml*, which can be done with
this DTML code::
<dtml-call expr="RESPONSE.setHeader('content-type', 'text/xml')">
% Anonymous User - Aug. 31, 2002 2:33 pm:
Where should this line be placed in the entries.xml? At the beginnning?
% Anonymous User - Sep. 22, 2002 12:18 pm:
Wherever you like