Skip to content

Why do i get this error in my sitemap.xml file?”This XML file does not appear to have any style information.”?

I could see all the files display in the document tree that start with <urlset>
?
<url><loc>http://www.mydomainname.com</loc></url>. But sitemap error is still there. Please help. Thanks

17 Comments

  1. Mark wrote:

    Your urlset element must provide the stylesheet that the xml is validated against and you should also create an xml tag to establish version and encoding

    EXAMPLE:

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

    </urlset>

    NOTE: Yahoo answers is retarded and chops off text for some stupid reason so the full link in the xmlns attribute above is(right-click > copy shortcut/copy link location):

    http://www.sitemaps.org/schemas/sitemap/0.9

    Also.. You might want to verify that your XML is even correct. The code you put in your question does not appear to be valid. I recently did a sitemap for a new site I’m making which you can use as an example; it can be found here:

    http://www.youaremywitnesses.com/sitemap.xml

    If you are opening this in firefox it will say:

    "This XML file does not appear to have any style information associated with it. The document tree is shown below."

    Even if the XML validates properly. This is because XML can be used to make web pages and when that’s done stylesheets are used to tell the browser how to display the data sent in the XML file.

    In the case of our sitemap.xml files though, stylesheets are not needed and that message can be ignored. If you would like to see the entire XML file as it actually is in firefox, you will need to right-click the page and then click ""View page source"

    Hope this helps!

    Saturday, January 16, 2010 at 11:22 am | Permalink
  2. melihoe wrote:

    Hello,

    I a couple of quick suggestions. First and the most easiest one is to use a online sitemap generator that will give you a sitemap, no charge, that is properly formatted and you can download.

    Take a look at: http://www.smartfindsmarketing.com/xml_sitemaps.php

    If you want to dig into this problem further, certainly take a look at the formatting information at http://www.sitemaps.org that was created by Google, Yahoo and Microsoft back in 2005 regarding how sitemap files would be setup.

    Unable to post a sample file for you here as it is being re-coded within Yahoo Answers. Hopefully one of the examples above will help you.

    Saturday, January 16, 2010 at 11:22 am | Permalink
  3. Tamara Hiter wrote:

    I have found only two posts in your blog. this is really disappointing matter. i hope you will more active about your blog.

    Tuesday, November 8, 2011 at 10:33 am | Permalink
  4. Loreen Tomme wrote:

    Thanks for posting this information on your blog! Great Work

    Tuesday, November 8, 2011 at 10:29 pm | Permalink
  5. Carrol Yagin wrote:

    Hello. excellent job. I did not imagine this. This is a excellent story. Thanks!

    Saturday, November 12, 2011 at 3:51 pm | Permalink
  6. There is noticeably a bundle to know about this. I assume you made certain nice points in features also.

    Wednesday, November 16, 2011 at 2:31 pm | Permalink
  7. Heya i¡¦m for the primary time here. I came across this board and I in finding It truly helpful & it helped me out much. I am hoping to offer something again and aid others such as you helped me.

    Friday, November 18, 2011 at 3:12 pm | Permalink
  8. laptop store wrote:

    Attractive section of content. I just stumbled upon your web site and in accession capital to assert that I acquire actually loved account your blog posts. Anyway I will be subscribing in your augment and even I achievement you get entry to consistently quickly.

    Saturday, November 19, 2011 at 8:04 am | Permalink
  9. dell laptops wrote:

    I’m really impressed with your writing talents as well as with the format on your blog. Is that this a paid topic or did you customize it your self? Anyway stay up the excellent high quality writing, it is rare to see a great blog like this one nowadays..

    Monday, November 21, 2011 at 2:39 pm | Permalink
  10. dell m6600 wrote:

    I was suggested this web site by way of my cousin. I’m now not certain whether or not this post is written by means of him as nobody else realize such detailed approximately my trouble. You are wonderful! Thanks!

    Tuesday, November 22, 2011 at 9:59 pm | Permalink
  11. meditation wrote:

    Attractive element of content. I simply stumbled upon your site and in accession capital to say that I acquire actually loved account your weblog posts. Anyway I will be subscribing on your augment and even I success you access persistently quickly.

    Thursday, November 24, 2011 at 12:41 am | Permalink
  12. I used to be suggested this blog through my cousin. I am no longer positive whether this post is written by him as no one else know such unique about my difficulty. You’re wonderful! Thank you!

    Saturday, November 26, 2011 at 3:55 pm | Permalink
  13. F*ckin’ remarkable things here. I am very satisfied to see your post. Thanks a lot and i’m taking a look forward to contact you. Will you please drop me a mail?

    Monday, November 28, 2011 at 11:03 pm | Permalink
  14. Fint you could save yourself a lot of typing with just a few words. In fact, you can copy-paste and not have to type anything at all: “Fuck you, I got mine.”|

    Wednesday, November 30, 2011 at 10:14 am | Permalink
  15. Howdy! I just want to give an enormous thumbs up for the good info you have right here on this post. I shall be coming back to your blog for extra soon.

    Thursday, December 1, 2011 at 12:19 pm | Permalink
  16. DK PVP wrote:

    Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something. I think that you can do with a few pics to drive the message home a little bit, but instead of that, this is excellent blog. A great read. I will certainly be back.

    Wednesday, December 7, 2011 at 9:45 pm | Permalink
  17. articles wrote:

    Its like you read my thoughts! You seem to grasp a lot about this, like you wrote the e-book in it or something. I feel that you can do with some % to force the message house a little bit, but instead of that, that is excellent blog. A great read. I’ll certainly be back.

    Wednesday, December 7, 2011 at 10:53 pm | Permalink

Post a Comment

Your email is never published nor shared.