nerde hata yapıyorum....yardımcı olabilirmisiniz

<?php
include 'ayarlar.php';
header("content-type: text/xml");
echo '<?xml version="1.0" encoding="UTF-8"?>';
?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/09/sitemap.xsd">
<?php
$sql=@mysql_query("Select * from oyunlar WHERE (durum='a') order by id desc");
    while ($oyun=mysql_fetch_array($sql)) { 
	$oyun_kat=mysql_fetch_array(@mysql_query("Select * from kategori where id='$oyun[oyun_kategori]'"));?><url>
  <loc>http://www.flash-oyun.net/<?=$oyun_kat[k_adi_seo];?>/<?=$oyun[oyun_adi_seo];?>-<?=$oyun[id];?>.html</loc>
  <priority>0.5</priority>
  <changefreq>daily</changefreq>
</url>
<?php
}
?>
</urlset>