diff --git a/examples/dcc-2020_75012.xml b/examples/dcc-2020_75012.xml
index 60a9f7807b4118e75646781480931fb1b526feec..4d64cf07eb828175e327ec50ac74cdf3cf4d7ef0 100644
--- a/examples/dcc-2020_75012.xml
+++ b/examples/dcc-2020_75012.xml
@@ -1,5 +1,10 @@
-<?xml version="1.0" ?>
-<dcc:digitalCalibrationCertificate schemaVersion="2.3.0" xmlns:dcc="https://ptb.de/dcc" xmlns:si="https://ptb.de/si" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://ptb.de/dcc https://ptb.de/dcc/v2.3.0/dcc.xsd">
+<?xml version="1.0" encoding="UTF-8"?>
+<dcc:digitalCalibrationCertificate
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="https://ptb.de/dcc https://ptb.de/dcc/v2.4.0/dcc.xsd"
+  xmlns:dcc="https://ptb.de/dcc"
+  xmlns:si="https://ptb.de/si"
+  schemaVersion="2.4.0">
   <!--
     Copyright (c) 2019 - Physikalisch-Technische Bundesanstalt, alle Rechte 
     vorbehalten - all rights reserved
diff --git a/examples/dcc-2020_75127.xml b/examples/dcc-2020_75127.xml
index c77d7ae8c1f4e98bcef9434cc98e627afdadc51c..a8d3f381dcc4d82c39d59efa899bc1b658f21ac8 100644
--- a/examples/dcc-2020_75127.xml
+++ b/examples/dcc-2020_75127.xml
@@ -1,5 +1,10 @@
-<?xml version="1.0" ?>
-<dcc:digitalCalibrationCertificate schemaVersion="2.3.0" xmlns:dcc="https://ptb.de/dcc" xmlns:si="https://ptb.de/si" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://ptb.de/dcc https://ptb.de/dcc/v2.3.0/dcc.xsd">
+<?xml version="1.0" encoding="UTF-8"?>
+<dcc:digitalCalibrationCertificate
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="https://ptb.de/dcc https://ptb.de/dcc/v2.4.0/dcc.xsd"
+  xmlns:dcc="https://ptb.de/dcc"
+  xmlns:si="https://ptb.de/si"
+  schemaVersion="2.4.0">
   <!--
     Copyright (c) 2019 - Physikalisch-Technische Bundesanstalt, alle Rechte 
     vorbehalten - all rights reserved
@@ -295,4 +300,4 @@
       </dcc:results>
     </dcc:measurementResult>
   </dcc:measurementResults>
-</dcc:digitalCalibrationCertificate>
\ No newline at end of file
+</dcc:digitalCalibrationCertificate>
diff --git a/templates/xml/dcc.xml b/templates/xml/dcc.xml
index e08173f4089cf21d8842408f84540bb43a96b719..a89e54e200f524e03059ce88cea8071a34697e8c 100644
--- a/templates/xml/dcc.xml
+++ b/templates/xml/dcc.xml
@@ -1,11 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <dcc:digitalCalibrationCertificate
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="https://ptb.de/dcc https://ptb.de/dcc/v2.3.0/dcc.xsd"
+    xsi:schemaLocation="https://ptb.de/dcc https://ptb.de/dcc/v2.4.0/dcc.xsd"
     xmlns:dcc="https://ptb.de/dcc"
     xmlns:si="https://ptb.de/si"
-    schemaVersion="2.3.0">
-
+    schemaVersion="2.4.0">  
     <!--
     Copyright (c) 2019 - Physikalisch-Technische Bundesanstalt, alle Rechte 
     vorbehalten - all rights reserved