https://learn.microsoft.com/cs-cz/dotnet/api/system.xml.xmlwritersettings.newlinehandling?view=netframework-4.8.1&viewFallbackFrom=net-10.0
XmlWriterSettings.NewLineHandling Property (System.Xml) | Microsoft Learn
Gets or sets a value indicating whether to normalize line breaks in the output.
property systemxmlmicrosoftlearn