XML View in Mozilla

Here’s a lazy web question. Does anyone know how you can change Mozilla’s handling of XML back to the way it used to be? If I’m loading an XML page, 19 out of 20 times it’s because I am examining it for correctness or to extract information from it. I hate how it does that more human readable formatting by default now. It just requires me to go and view source on ever single one of them, when what I really want is the tree view it used to have, where you could expand or close individual elements in the XML tree. How can I get back there? I looked in the config settings at every XML thing I could find, but didn’t see a way to turn off this new behavior.

Update: Thanks to a link in the comments from Derek, now I understand that this is part of a holy war inside of the Mozilla project. The problem is that RSS feeds are handled as a special case and intercepted by the rendering engine. The XML toolkit doesn’t work with these, because by the time you have access to them they are now a specially styled page. Viewing source will still see the raw XML but the browser window knows it as the fugly transformed page. I agree with the people who hate this behavior or at least want the ability to disable it. It costs me an enormous amount of efficency when I am working behind the scenes on AmigoFish and and looking at RSS feeds. Now that I know this is the case, I will probably use a different browser for this work. Mozilla project, thanks for all the work but this is one decision you really took the wrong fork on.

8 Replies to “XML View in Mozilla”

  1. Dave-
    I have a plugin installed in Firefox called XML Developer Toolbar by Scott Root (http://xmldeveloper.mozdev.org/). It allows you to switch from treeview to “pretty print” modes—I find this useful, as it allows you to view both formatted (if style info. is present) and unformatted XML. Also has some pretty cool tools, including node counting, DTD/schema generation, and validation, which transform FF into an XML editor.
    Natively, I see nothing which controls this in the Mozilla browser itself.

    Hope this helps!

    Randy Maugans

    Hope this helps,
    Randy Maugans

  2. Derek, thanks. That thread explained the whole thing to me, which says that I am far from alone in this belief.

    Garrick, does Camino not do that? I know I have installed it at some point but I can’t remember the last time I used it.

    Randy, like I posted in the update when I try to inspect the DOM of RSS feeds they show me the DOM of the rendered page with the Mozilla RSS icon and all. Maybe I’m not using it right, but I couldn’t figure out how to do that.

Comments are closed.