{%- if use_xml_format -%} {%- if diagnostics -%} {{diagnostics}} {%- endif %} {%- else -%} {%- if diagnostics -%} DIAGNOSTICS: {{diagnostics}} {%- endif %} {%- endif %}