Mercurial > repos > IBBoard.WarFoundry.API
changeset 408:2c52f0235774 xsl-output
Closed exported file after completion of export/transformation.
author | Dan.Kulinski@dank-laptop.Global.Local |
---|---|
date | Tue, 23 Aug 2011 15:44:08 -0600 |
parents | a33be6e995c9 |
children | dee3dcb72acf |
files | API/Exporters/WarFoundryXMLWithXSLExporter.cs |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/API/Exporters/WarFoundryXMLWithXSLExporter.cs Sun Aug 21 22:37:08 2011 -0600 +++ b/API/Exporters/WarFoundryXMLWithXSLExporter.cs Tue Aug 23 15:44:08 2011 -0600 @@ -54,6 +54,7 @@ { xmlDoc.Save(writer); writer.Flush(); + writer.Close(); } } @@ -67,6 +68,7 @@ XmlWriter writer = XmlWriter.Create(savePath, xslTransform.OutputSettings); xslTransform.Transform(xmlDoc, writer); writer.Flush(); + writer.Close(); } // Build the XML document to save or transform