Method IndentXml
IndentXml(string, bool)
Makes string with xml data indented.
public static string IndentXml(string xml, bool newLineOnAttributes = false)
Parameters
xmlstringString with xml data.
newLineOnAttributesboolWhether to add new line on every attr declaration. Optional.