Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

View XML files in Firefox without using source view

  • 2 antwoorden
  • 7 hebben dit probleem
  • 5 weergaven
  • Laatste antwoord van falexge

more options

Whenever I open an XML file in Firefox, the tags are all stripped off and I see just plain text like this [File 1 in Firefox]. The same file displays in Internet Explorer like this [File 1 in Internet Explorer]

For an average user, this is the preferred view, as he can see the text content of the XML file without worrying about the tags in the document. For other more advanced users like myself, this is very inconvenient.

There are even some cases where Firefox does not display anything because all the tags are stripped off like in this case [File 2 in Firefox] here is the same file in Internet Explorer [File 2 in Internet Explorer].

The workaround I use now is to view the file's source so that I get to see everything. I must say, however, that this is very inconvenient. If the user does not specify any style sheet for formatting the XML file, I believe the file should be left as-is; it should not be touched.

Kindly review this so we can confidently use Firefox as our default browser without having to switch to IE from time to time.

Whenever I open an XML file in Firefox, the tags are all stripped off and I see just plain text like this [[http://i.imgur.com/pBhUM.png|XML File 1 in Firefox]]. The same file displays in Internet Explorer like this [[http://i.imgur.com/CT8Zb.png|XML File 1 in Internet Explorer]] For an average user, this is the preferred view, as he can see the text content of the XML file without worrying about the tags in the document. For other more advanced users like myself, this is very inconvenient. There are even some cases where Firefox does not display anything because all the tags are stripped off like in this case [[http://i.imgur.com/hAkBd.png|XML File 2 in Firefox]] here is the same file in Internet Explorer [[http://i.imgur.com/juOzs.png|XML File 2 in Internet Explorer]]. The workaround I use now is to view the file's source so that I get to see everything. I must say, however, that this is very inconvenient. If the user does not specify any style sheet for formatting the XML file, I believe the file should be left as-is; it should not be touched. Kindly review this so we can confidently use Firefox as our default browser without having to switch to IE from time to time.

Alle antwoorden (2)

more options

You can view the page source in case like that.

  • Firefox > Web Developer > Page Source
  • Tools > Web Developer > Page Source (Ctrl+U)
  • Right-click on a web page to open the right-click context menu and select Page Source
more options

@cor-el

I am aware of the solution you're proposing. I even stated it as the workaround I use currently.

My point is that the browser should have an option to display the raw XML without stripping off all the tags just like Internet Explorer or even Chrome (see attached image).

Bewerkt door falexge op