title: How to validate compliant XML sitemap?
body: <p>For the following header I get the same two errors on all my sitemaps.  It's confusing because, if Google can't read my sitemap, then how can they say that each URL has the same priority?  The header counts as line 2, after the XML declaration.  Google claims only to have indexed about 2% of the URLs from the maps.  Please help.</p>
  
  <blockquote>
    <p>UPDATE: I think the problem is that I don't know how to validate against a schema.  How to do that?</p>
  </blockquote>
  
  <pre><code>&lt;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/sitemap.xsd"&gt;
  
  ==Parsing error
  We were unable to read your Sitemap. It may contain an entry we are 
  unable to recognize. Please validate your Sitemap before resubmitting.
  
  ==Notice
  All the URLs in your Sitemap have the same priority...
  </code></pre>
  
  <p>UPDATE: Please be patient, first time validating XML.  I don't understand the errors.</p>
  
  <pre><code>Errors in the XML document:
      4:  80  SchemaLocation: schemaLocation value = 'http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd' must have even number of URI's.
      4:  80  cvc-elt.1: Cannot find the declaration of element 'urlset'.
  
  XML document:
  1   &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  2   &lt;urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4     xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"&gt;
  5     &lt;url&gt;
  6       &lt;loc&gt;http://nutrograph.com/1-butter-salted&lt;/loc&gt;
  7       &lt;changefreq&gt;monthly&lt;/changefreq&gt;
  8       &lt;priority&gt;0.8&lt;/priority&gt;
  9     &lt;/url&gt;
  10    &lt;url&gt;
  11      &lt;loc&gt;http://nutrograph.com/2-butter-whipped-with-salt&lt;/loc&gt;
  12      &lt;changefreq&gt;monthly&lt;/changefreq&gt;
  13      &lt;priority&gt;0.8&lt;/priority&gt;
  14    &lt;/url&gt;
  15  &lt;/urlset&gt;
  </code></pre>