Common mistakes while creating excel from XML

This article, describing some common mistakes when we create/ download excel through XML. File Corrupted This is the main common error that happens while downloading the excel and the debugging is really hard. The major reasons are listed below. The number of rows while we Invalid format Column number Column name