J.D.
Jul 31st 2005, 2:23 pm
I put together a small XSL stylesheet that makes it easier to view sitemap files. Copy the attached XSL file into the same directory that contains your sitemap file and rename the stylesheet file to sitemap.xsl (DP doesn't allow .xsl attachments). Edit your sitemap file to include the highlighted directive:
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="sitemap.xsl" ?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
<url>...</url>
</urlset>
This directive is an XML processing instruction and will not invalidate your sitemap when submitted to Google.
Open the sitemap file in the browser (Opera can't handle XSL, but IE and FF will work fine) to see the sitemap in HTML. The results are ordered by the modification date and then by location (alphabetically). You can click URLs to check if they are valid.
J.D.
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="sitemap.xsl" ?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
<url>...</url>
</urlset>
This directive is an XML processing instruction and will not invalidate your sitemap when submitted to Google.
Open the sitemap file in the browser (Opera can't handle XSL, but IE and FF will work fine) to see the sitemap in HTML. The results are ordered by the modification date and then by location (alphabetically). You can click URLs to check if they are valid.
J.D.