Could anyone point me to a nicer way of doing: <span tal:content="nocall:python:response.setHeader('blah')"></span> ...using 'content' feels like an abuse of the attribute in this context. seb