Simple Sitemap is not being accepted as it is html format.

Hi there
I have generated the sitemap but when I submit to google it says

your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.

Any ideas on what I am doing wrong? Thanks