<fragments> <metal:block metal:use-macro="here/main_template_macros/macros/global_defines" /> <tal:block tal:define="global dummy python:request.RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8')" /> <tal:block tal:define="global Template python:getattr(here, request.form.get('template', options.get('template')));" /> <fragment tal:attributes="id options/fragmentId|request/fragmentId"><span tal:replace="structure string:<![CDATA[" /> <metal:block use-macro="python:Template.macros[request.form.get('macro', options.get('macro'))]"/> <span tal:replace="structure string:]]>" /></fragment> </fragments>