Hi, all
When i type Daniweb in google, it comes out really clearly site map in google. for example like:

DaniWeb IT Discussion Community - Software Programming / Web ...
Forums                            Web Development
Java Forum                       JavaScript
PHP
Software Development

I made the write the googlesitemap.xml file and upload it to both my server and the google webmaster. But it did not come to this way.

<?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.foo.com/</loc>
    <lastmod>2009-01-01</lastmod>
    <changefreq>monthly</changefreq>
    </url>
    <url>
    <loc>http://www.foo.com/index.php</loc>
    <lastmod>2009-01-01</lastmod>
    <changefreq>monthly</changefreq>
    </url>

So how i could make my website like this??
Many Thanks!

You have no control over this, google assigns these if it feels that they are relevant. In your webmaters tools it explains this.

Hope that helps

martynb, does that mean i couldn't do anything about it instead make my website code more clearly??
Thanks.