How to Generate a sitemap.xml in SQL