Why cannot FF5 display xml file (with its xsl file)?
With FireFox 3.6, Mozilla 1.7.13 and IE 6 I can view my xml report files utilizing their xsl files. I recently upgraded to FireFox 5 and lost that capability!
I have developed several applications for nonprofit use that depend on viewing and printing reports via web browsers.
I choose this approach because nonprofit organizations would all have web browsers on their PCs.
My xml report files each have their xsl stylesheet files FireFox has been my default browser since it superseded Mozilla 1.7.
I will sincerely appreciate your help.
Wybrane rozwiązanie
This:
If the file to be loaded is in a subdirectory of the codebase…
and Bug 402983
switching security.fileuri.strict_origin_policy in about:config solves the problem but a better solution is to navigate to your file from a common ancestor, in which case the style sheet will be considered native too.
Przeczytaj tę odpowiedź w całym kontekście 👍 1Wszystkie odpowiedzi (5)
I'm on an Intel Mac OS 10.5.8 using Firefox 5. I found that when trying to open an xml or xsl file in Firefox 5, these file types are greyed out and I'm not able to select them. Nor does Firefox appear as a possible program with which to open these file types. I know that Firefox CAN open these files as I have been able to display them by dragging the file icon into a Firefox window. I have coworkers running the same configuration and it works fine. Is there a preference in FF?
Thanks for the help, as well.
Thank you.
You are correct. I can drag and drop to display the xml file.
How ever, I need to open the xml file in FireFox from within a VB6 application using:
Declare Function FindExecutable Lib "shell32.dll" _
Alias "FindExecutableA" (ByVal lpFile As String, _ ByVal lpDirectory As String, _ ByVal lpResult As String) As Long
and: Function Shell(PathName, [WindowStyle As VbAppWinStyle = vbMinimizedFocus]) As Double
Zmodyfikowany przez anderci w dniu
Is someone working on a solution? I much prefer being able to use FireFox to display my .xml reports than IE.
I was finally getting FireFox 5.0 to display xml files using their xsl stylesheets on my desktop PC. I tried to upgrade my laptop PC from Firefox 3 to 5.0 but it insisted on upgrading to 6.02 Now FireFox 6.02 refuses to display the xml files using their xsl stylesheets, What is wrong?
Wybrane rozwiązanie
This:
If the file to be loaded is in a subdirectory of the codebase…
and Bug 402983
switching security.fileuri.strict_origin_policy in about:config solves the problem but a better solution is to navigate to your file from a common ancestor, in which case the style sheet will be considered native too.
Zmodyfikowany przez žełvik w dniu