How to check for valid xml in string input before calling .LoadXml() How to check for valid xml in string input before calling .LoadXml() xml xml