If you get 404 error when you view your sitemap from the link www.yoursite.com/sitemap.xml , add the below line to your .htaccess file.
RewriteCond %{REQUEST_URI} !/sitemap\.xml
RewriteCond %{REQUEST_URI} !/sitemap\.xml\.gz
Oxwall blocks the file access and so you need the above to allow.