pretty


Description:

public static string pretty (XmlNode node, int indent = 2)

Serializes an XmlNode tree to a formatted XML string.

Parameters:

node

root node to serialize.

indent

number of spaces per indentation level.

Returns:

formatted XML string.