Support » Plugins and Hacks » sitemap error loading stylesheet

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    the plugin used the wrong location for your XSLT file since you’ve installed WordPress in a separate folder. Please try the new beta (3.0b7) and let me know if that fixes your problem 🙂

    Best regards,

    Arne

    Thanks Arne
    I have upgraded as you suggest and that did not work. But your hint that it was pointing to the wrong file path allowed me to put in a second (fake) file path for it to point to the right file and it is now working with this temporary workaround.

    I’m having the same problem but do not understand what exactly you did to get it working…

    stevehl42

    (@stevehl42)

    I, as well, have this problem and do not understand exactly how you got this working. Any help is much appreciated, thanks.

    The sitemap.xls file doesn’t declare a stylesheet. To make it work I did the following:

    Substitute the following in the sitemap.xls file in the 1st line:

    FROM:
    <?xml version=”1.0″ encoding=”UTF-8″ ?>

    TO:
    <?xml version=”1.0″ encoding=”UTF-8″ ?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
    <stylesheet version=”1.0″ xmlns=”http://www.w3.org/1999/XSL/Transform”>

    This solved the problem for me.

    Check it out here:
    Divas Blog

    http://www.divas-blog.com/sitemap.xml

    Found the answer to problem here:

    http://www.theerrormessage.com/2007/06/08/an-xslt-stylesheet-does-not-have-an-xml-mimetype/

    Hi mrsdiva,

    Thanks!

    The way you suggested was properly solved my problems in Firefox(FF)
    But when I tried to open the URL in IE, it was failed again.

    Including both your sitemap.xml and my sitemay.xml.
    http://www.max2.tw/blog/sitemap.xml

    In my case,
    Using the code <?xml version=”1.0″ encoding=”UTF-8″?>
    the result is OK for IE , and FF showed the error message.

    Using the code <?xml version=”1.0″ encoding=”UTF-8″?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
    <stylesheet version=”1.0″ xmlns=”http://www.w3.org/1999/XSL/Transform”>
    the result is OK for FF ,and IE showed blank page.

    Thus I wonder the root cause is the coding-complier in both IE and FF,
    or just the setting of my laptop?

    Is there anyone could appear the sitemap.xml using both IE and FF?

    I have been having a problem like this as well. Here is what I did to get mine working in FF and IE

    I changed this <?xml version="1.0" encoding="UTF-8"?> to this `<?xml version=”1.0″ encoding=”UTF-8″?>
    <?xml-stylesheet type=”text/xsl” href=”product-list.xslt”?>`
    in the sitemap.xml file. THEN… I added this AddType application/xml .xsl to my .htaccess and now everything seems to be working fine for me.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘sitemap error loading stylesheet’ is closed to new replies.