diff --git a/nmap.cc b/nmap.cc index d663e1d68..744107f7d 100644 --- a/nmap.cc +++ b/nmap.cc @@ -1709,6 +1709,7 @@ int nmap_main(int argc, char *argv[]) { chomp(mytime); char *xslfname = o.XSLStyleSheet(); xml_start_document(); + log_write(LOG_XML, "\n", NMAP_XMLOUTPUTVERSION); if (xslfname) { xml_open_pi("xml-stylesheet"); xml_attribute("href", "%s", xslfname);