This commit adds an XSD file for each template type to that validation can take place. If there is any error in XML files, it can be easily detected by reading the error in the validation log.