I believe this is by design - XML ββsaves the new line as LF, not as Windows CR + LF.
If you think about it, this is consistent with the principle that XML does not preserve white characters unless you have xml:space="preserve" . Try adding this as a node attribute and see what you get.
source share