'; echo ''; $url = simplexml_load_file('sitemap.xml'); $i=0; foreach ($url as $urllist): $i++; $loc=$urllist->loc; //$lastmod=$urllist->lastmod; echo ""; endforeach; echo "

SITEMAP

url
$i$loc
"; echo ""; ?>