I am creating a web application using php. I want to create a sitemap for my application. I dont know how to create that xml file and how to include in php. And also I want to know that, is it possible to check that in my localhost before upload into my hosting server? I want a simple example code to create the sitemap.xml file and how to link that in php page? Please, does any one can help me?