XmlDocument public sealed class XmlDocument Documentation public static string GetFormattedXml(XmlDocument doc)