xml sitemap build by the Google?

kpxada

New Member
I have an xml sitemap build by the Google specificcation when I try to validate the XML i get warrning that I do not have DOCTYPE defined.
I tried different <!DOCTYPE but non worked.
What <!DOCTYPE do I need for basic XML?
 

Imagn

New Member
Is this the top part of your doc?

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

You can also use this tool to generate compliant sitemap.xml files for you:

http://www.xml-sitemaps.com/
 
Top