aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportInitializer.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPExportInitializer.m')
-rw-r--r--Source/SPExportInitializer.m5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m
index 0ceccbd6..20b38c5e 100644
--- a/Source/SPExportInitializer.m
+++ b/Source/SPExportInitializer.m
@@ -355,9 +355,6 @@
}
singleFileHandle = [self getFileHandleForFilePath:[[exportPathField stringValue] stringByAppendingPathComponent:[filename stringByAppendingPathExtension:@"xml"]]];
-
- // Write the file header
- [self writeXMLHeaderToFileHandle:singleFileHandle];
}
// Start the export process depending on the data source
@@ -541,7 +538,7 @@
if ((exportSource == SPTableExport) && exportToMultipleFiles && (exportTableCount > 0)) {
filename = [[exportPathField stringValue] stringByAppendingPathComponent:table];
- fileHandle = [self getFileHandleForFilePath:filename];
+ fileHandle = [self getFileHandleForFilePath:[filename stringByAppendingPathExtension:@"xml"]];
// Write the file header
[self writeXMLHeaderToFileHandle:fileHandle];