Added XML document type header to output.