XML sitemaps can be stored in an uncompressed form, submitted as .XML files or compressed in gzip format and then submitted as .GZ files. The XML Sitemap protocol comes with a set of structured XML tags, with some of the tags being mandatory while others are optional.