From 4e5eeaa70107d0a296c14017eef4ea1dd1213469 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 14 Aug 2010 11:12:33 +0000 Subject: Ensure that the XML file header is written when performing an XML export of the current filtered result. --- Source/SPExportInitializer.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m index 69bbcfce..1e5c845e 100644 --- a/Source/SPExportInitializer.m +++ b/Source/SPExportInitializer.m @@ -331,6 +331,8 @@ else { xmlExporter = [self initializeXMLExporterForTable:nil orDataArray:dataArray]; + [singleExportFile setExportFileNeedsXMLHeader:YES]; + [exportFiles addObject:singleExportFile]; [xmlExporter setExportOutputFile:singleExportFile]; -- cgit v1.2.3