Why do my XML and XSLT files work fine in editor, but not in Firefox or Explorer?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stephen1313
    New Member
    • Sep 2010
    • 9

    #1

    Why do my XML and XSLT files work fine in editor, but not in Firefox or Explorer?

    I have an XML file that I am using an xslt file against to format output (HTML).
    In the editor (stylus studio) it works fine, but when I run it in the IE browser I get:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

    The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML documen...

    In Firefox I get:
    Error loading stylesheet: A network error occured loading an XSLT stylesheet:http ://www.personal.ps u.edu/users/s/l/sll917/hw1.xslt

    Any help would be appreciated.
    Attached Files
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    If I go to http://www.personal.psu.edu/users/s/l/sll917/hw1.xslt, it gives me a 404 error. Is the path right?

    Comment

    • stephen1313
      New Member
      • Sep 2010
      • 9

      #3
      Try: http://www.personal.psu.edu/sll917/

      Comment

      • jkmyoung
        Recognized Expert Top Contributor
        • Mar 2006
        • 2057

        #4
        Have you changed the address accordingly in your xml file? Where are you opening the xml file from, eg what directory is it stored in? Perhaps it's a cached copy, or has specific project settings.

        That is some pretty ugly XSLT, but I'd expect as much using mapforce. Really shouldn't have data (besides headings perhaps) in the XSLT.

        Comment

        Working...