Код: Выделить всё
XmlWriter xw = XmlWriter.Create(sbXmlDoc, new XmlWriterSettings {
Indent = true,
IndentChars = " ",
OmitXmlDeclaration = true
});
Подробнее здесь: https://stackoverflow.com/questions/791 ... -xmlwriter
Код: Выделить всё
XmlWriter xw = XmlWriter.Create(sbXmlDoc, new XmlWriterSettings {
Indent = true,
IndentChars = " ",
OmitXmlDeclaration = true
});