How can I tell xml.Marshal or xml.MarshalIndent to terminate lines in Windows CRLF line endings rather than the LF that it's producing now?
Note: I tried running strings.Replace(s, "
", "
", -1)
and strings.Replace(s, ">
", ">
", -1)
to transform after the fact but that caused more troubles than it solved. A blanket string replacement won't work.