« Sitemap validationSitemap extensions »

Sitemap index validation

  04/08/07 01:07, by , 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>
This entry was posted by and is filed under Specs.

No feedback yet


Form is loading...

 

©2017 by sitemaps

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