<?phpinclude("intranet/db_cnxn.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/0.9/sitemap.xsd">						<url>			  <loc>http://www.wdsdemos.com/</loc>			  <priority>1</priority>			  <changefreq>monthly</changefreq>			</url>			<?php	$sql = "SELECT * FROM content ORDER BY section";	$result = mysql_query($sql);	while ($row = mysql_fetch_array($result)) {		$subsec = ($row['subsection']) ? "/".$row['subsection'] : "";		$sec = (strtolower($row[1]) =='home') ? "" : strtolower($row[1]);		$priority = (strtolower($row[1]) =='home') ? "1" : "0.8";		if (strtolower($row[1]) !='home') {echo '			<url>			<loc>http://www.wdsdemos.com/'.$sec.$subsec.'</loc>			<priority>'.$priority.'</priority>			<changefreq>monthly</changefreq>			</url>';		}		}?></urlset>
