public override void Save(FileInfo outputFile) { var outputFileName = Path.ChangeExtension(outputFile.FullName, "html"); using (var output = XmlWriter.Create(outputFileName, new XmlWriterSettings() { Indent = true, ConformanceLevel = ConformanceLevel.Auto })) { Transform.Transform(OutputDocument.CreateNavigator(), output); } }