<?php '<?xml version="1.0" encoding="UTF-8" ?>' ?>

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
        <loc><?php e(base_url()); ?></loc> 
        <lastmod><?php e(date('Y-m-d', time())); ?></lastmod>
        <priority>1.0</priority>
    </url>
    <?php foreach($urls as $url) { ?>
    <url>
        <loc><?php e($url->loc); ?></loc>
		<lastmod><?php e($url->lastmod); ?></lastmod>
		<priority><?php e(str_replace(',', '.',$url->priority)); ?></priority>
    </url>
    <?php } ?>

</urlset>