Oh

Discussion in 'Computer Science & Culture' started by Star_One, Oct 31, 2004.

Thread Status:
Not open for further replies.
  1. Star_One Registered Senior Member

    Messages:
    268
    This came up whilst trying to look on a website.

    "Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:"

    Im using Mozilla Firefox on windows.

    Cheers for any advice.
     
    Last edited: Oct 31, 2004
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
    The likelihood is the website you viewed hadn't placed a tag in before the HTML to define that the page was in XML format.

    For instance this is usually inserted before HTML starting tag in an RSS feed:
    < ?xml version="1.0"? >

    Or notibly with the one you are refering to it would probably be something like this:
    < xsl:stylesheet version = '1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' >

    Without such lines some browsers (or servers) don't know how to interpret the page, therefore error.
    (Also note that sometimes long lines can be "broken" by accident, which can also cause the error. The XSL insertions are usually through Frontpage generators etc)
     
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. Roman Banned Banned

    Messages:
    11,560
    I'd try sacrificing something small and warm-blooded to Cthulu.

    Like a baby.
     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
Thread Status:
Not open for further replies.

Share This Page