/////////////////////////////////////////////////////////////////////// #region Generic Xml Handling Methods public static bool CouldBeDocument( string path ) { if (String.IsNullOrEmpty(path)) { return(false); } string extension = PathOps.GetExtension(path); if (String.IsNullOrEmpty(extension)) { return(false); } if (String.Equals(extension, FileExtension.Markup, PathOps.ComparisonType)) { return(true); } return(false); }