Table of Contents

Method IndentXml

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

IndentXml(string, bool)

Makes string with xml data indented.

public static string IndentXml(string xml, bool newLineOnAttributes = false)

Parameters

xml string

String with xml data.

newLineOnAttributes bool

Whether to add new line on every attr declaration. Optional.

Returns

string