diff --git a/odxtools/templates/macros/printEnvData.xml.jinja2 b/odxtools/templates/macros/printEnvData.xml.jinja2 index 2a7f9e6e..fd0ac9c8 100644 --- a/odxtools/templates/macros/printEnvData.xml.jinja2 +++ b/odxtools/templates/macros/printEnvData.xml.jinja2 @@ -9,7 +9,7 @@ {%- macro printEnvData(env_data) %} {{ pbs.printBasicStructureSubtags(env_data)|indent(1) }} - {%- if env_data.all_value %} + {%- if not env_data.dtc_values %} {%- else %}