Hi friends, I am new...
I created a sitemap.xml, and using a txt editor he are ok, like that:
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="[external links are visible to admins only]"
xmlns:xsi="[external links are visible to admins only]"
xsi:schemaLocation="[external links are visible to admins only]
[external links are visible to admins only]">
<url>
<loc>[external links are visible to admins only]</loc>
<lastmod>2010-03-01T00:18:21+00:00</lastmod>
<changefreq>weekly</changefreq>
</url>
etc, etc.
And uploaded.
I do not understand:
If I read in the site, with a txt editor, all are ok.
But if I read with a browser, I get that:
<?xml version="1.0" encoding="UTF-8"?>
-<urlset
xmlns="[external links are visible to admins only]"
xmlns:xsi="[external links are visible to admins only]"
xsi:schemaLocation="[external links are visible to admins only]
[external links are visible to admins only]">
-<url>
<loc>[external links are visible to admins only]</loc>
<lastmod>2010-03-01T00:18:21+00:00</lastmod>
<changefreq>weekly</changefreq>
</url>
etc, etc.
See the -<url and -<urlset ?
I tried to validate, and get an error:
Error: Expected whitespace after public id
in unnamed entity at line 1 char 62 of [external links are visible to admins only]
Please help, I am new in this sitemap subject. What I need to change, to fix the above error?
Thanks!