I built a php script that creates a dynamic sitemap for goolge. It works fine as far as google goes but I noticed that when I view it in my browser if does not display like it is an xml file. Instead it just prints to data minus the tags on the page. Basically, I have htaccess setup to rewrite sitemap.xml to sitemap.php. This allows my to have a dynamic map. you can see it here http://www.myhowtoarticles.com/sitemap.xml Any ideas why it does not display as an xml file?