From 02a8e75b6207a6e47359c6e663806fe7879fcc66 Mon Sep 17 00:00:00 2001
From: Rolf Niepraschk <Rolf.Niepraschk@ptb.de>
Date: Mon, 8 Nov 2021 07:55:18 +0100
Subject: [PATCH] "result_header.xml (name)": implizit

---
 templates/xml/result_header.xml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/templates/xml/result_header.xml b/templates/xml/result_header.xml
index f360628..61564b5 100644
--- a/templates/xml/result_header.xml
+++ b/templates/xml/result_header.xml
@@ -1,4 +1,8 @@
       <dcc:name>
-        <dcc:content lang="de">Ergebnis der Kalibrierung</dcc:content>
-        <dcc:content lang="en">Result of the calibration</dcc:content>
+        {%- for i in doc.measurementResults.name %}
+        <dcc:content lang="{{i.lang}}">
+          <![CDATA[{%- for j in i.content %}{{j|safe}}{% endfor -%}]]>
+        </dcc:content>      
+        {% endfor -%}
       </dcc:name>
+      
-- 
GitLab