XmlWriter.Create Method (StringBuilder)
Assemblies: System.Xml (in System.Xml.dll)
System.Xml.ReaderWriter (in System.Xml.ReaderWriter.dll)
When you use this overload, an XmlWriterSettings object with default settings is used to create the XML writer.
Default (no removal)
\r\n (carriage return, new line)
If you want to specify the features to support on the created XML writer, use an overload that takes an XmlWriterSettings object as one of its arguments, and pass in a XmlWriterSettings object with your custom settings.