« Testing counters to see if they are odd or even | Main | Contingent DIV blocks in ZPT - a design flaw. »
April 20, 2005
Changing the content type in page templates
<tal:block tal:define="
dummy python: container.REQUEST.RESPONSE.setHeader('Content-Type', 'text/xml');
" tal:replace="structure string:<?xml version="1.0"?>"/>
Tags: ZPT
Posted by pj at April 20, 2005 01:03 PM