title: Multilingual sitemap.xml file
body: <p>I have a website that has more than 1 language and I would to optimize my sitemap.xml so it will include all available languages - I found <a href="https://support.google.com/webmasters/answer/2620865?hl=en&amp;ref_topic=2370587" rel="nofollow">this guide</a> on Google Webmaster Tools to use XHTML to provide all available URLs (one for each language) and this breaks the XML file, I've changed the  properties to  as described but it's still broken - not Chrome, Firefox or IE is able to read the file correctly.</p>
  
  <p>Is this normal?</p>
  
  <p>Here's an example of a sitemap.xml given by Google Webmaster Tools:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"&gt;
    &lt;url&gt;
      &lt;loc&gt;http://www.example.com/english/&lt;/loc&gt;
      &lt;xhtml:link rel="alternate" hreflang="de" href="http://www.example.com/deutsch/"/&gt;
      &lt;xhtml:link rel="alternate" hreflang="de-ch" href="http://www.example.com/schweiz-deutsch/"/&gt;
      &lt;xhtml:link rel="alternate" hreflang="en" href="http://www.example.com/english/"/&gt;
    &lt;/url&gt;
    &lt;url&gt;
      &lt;loc&gt;http://www.example.com/deutsch/&lt;/loc&gt;
      &lt;xhtml:link rel="alternate" hreflang="en" href="http://www.example.com/english/"/&gt;
      &lt;xhtml:link rel="alternate" hreflang="de-ch" href="http://www.example.com/schweiz-deutsch/"/&gt;
      &lt;xhtml:link rel="alternate" hreflang="de" href="http://www.example.com/deutsch/"/&gt;
    &lt;/url&gt;
    &lt;url&gt;
      &lt;loc&gt;http://www.example.com/schweiz-deutsch/&lt;/loc&gt;
       &lt;xhtml:link rel="alternate" hreflang="de" href="http://www.example.com/deutsch/"/&gt;
       &lt;xhtml:link rel="alternate" hreflang="en" href="http://www.example.com/english/"/&gt;
       &lt;xhtml:link rel="alternate" hreflang="de-ch" href="http://www.example.com/schweiz-deutsch/"/&gt;
    &lt;/url&gt;
  &lt;/urlset&gt;
  </code></pre>