diff --git a/lib/xml/write_support_functions.py b/lib/xml/write_support_functions.py
index e3a2e91011ff270467f4c3e5ecff8b9ef51bab87..0e9d412159085740534eb61298a5f3d7c479459c 100644
--- a/lib/xml/write_support_functions.py
+++ b/lib/xml/write_support_functions.py
@@ -33,7 +33,7 @@ import queries_definition as qry
 #--------------------------------------------------------------------#
 def open_xml_file (xml_filename):
     xml_file = codecs.open(xml_filename,'w',encoding='utf-8')
-    xml_file.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?")
+    xml_file.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n")
     return xml_file
 #--------------------------------------------------------------------#