Roslyn provides API for normalization whitespaces: https://github.com/dotnet/roslyn/blob/8e4ab418a8f9703f7dfe3a66adc9b3876ef9382f/src/Compilers/CSharp/Portable/Syntax/SyntaxNormalizer.cs#L14
Is this any equivalent of this behavior for XmlParser? My use case:
- Parse tree
- Add node
- Call
.NormalizeWhitespace or smth like this
- Get Xml with formatter indentations
In source code I found public static class Normalization but look like this normalization works only for attributes.
Roslyn provides API for normalization whitespaces: https://github.com/dotnet/roslyn/blob/8e4ab418a8f9703f7dfe3a66adc9b3876ef9382f/src/Compilers/CSharp/Portable/Syntax/SyntaxNormalizer.cs#L14
Is this any equivalent of this behavior for XmlParser? My use case:
.NormalizeWhitespaceor smth like thisIn source code I found
public static class Normalizationbut look like this normalization works only for attributes.