I recommend you read Google’s advice on the format for a sitemap: https://support.google.com/webmasters/answer/183668?hl=en