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?
I Have an Xml Sitemap Build by the Google Specificcation When I Try to Validate the XML I Get Warrning That I?
Previous post: Java and XSLT (O'Reilly Java)
{ 1 comment… read it below or add one }
somethings wrong. check that your ftp is set correctly, could be the filetype, byte order mark, etc.
use the sitemap protocol sample to build your file and you should be fine then address FTP or windows/unix translation
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.example.com/</loc>
<lastmod>2005-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
</urlset>
You must log in to post a comment.