<?xml version="1.0" encoding="UTF-8"?><sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{foreach item=sitemapID from=$sitemapIDs}
  <sitemap>
    <loc>{$baseUrl}sitemap.xml?page={$sitemapID}</loc>
    <lastmod>{$lastmod|date_format:"%Y-%m-%d"}</lastmod>
  </sitemap>
{/foreach}
</sitemapindex>    