« Sitemap validationSitemap extensions »

Sitemap index validation

Permalink 04/08/07 01:07, by sitemaps, Categories: Specs

The following XML schema defines the elements and attributes that can appear in your Sitemap index file. You can download this schema from the link below:

http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd

There are a number of tools available to help you validate the structure of your Sitemap based on this schema. You can find a list of XML-related tools at each of the following locations:

* http://www.w3.org/XML/Schema#Tools
* http://www.xml.com/pub/a/2000/12/13/schematools.html

In order to validate your Sitemap index file against a schema, the XML file will need additional headers as shown below.

XML:

<?xml version='1.0' encoding='UTF-8'?>
<sitemapindex 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/siteindex.xsd"
         xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <sitemap>
      ...
   </sitemap>
</sitemapindex>

Feedback awaiting moderation

This post has 1 feedback awaiting moderation...

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)

©2010 by sitemaps

Contact | Blog skin by Asevo | blog software | web hosting | monetizing