Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

Sitemap.xml

I get to see following codes used at the beginning of  sitemap.xml for different sites ? What's the differences between these three set of codes ? Can you clarify this ?

<?xml version="1.0" encoding="UTF-8" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
========================================
<?xml version="1.0" encoding="utf-8" ?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
========================================
<?xml version="1.0" encoding="UTF-8" ?>
<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 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
0
niwell
Asked:
niwell
1 Solution
 
Michel PlungjanIT ExpertCommented:
Different versions of the same file to validate the sitemap against

http://www.sitemaps.org/

http://www.google.com/support/webmasters/bin/topic.py?topic=8476

xmlns is the namespace and the other urls are to point to where the schema is found

http://www.w3schools.com/XML/xml_namespaces.asp
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now