Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

XML view

How do I make this XML display properly on Firefox?
I want any addon or plugin or anything that will allow me to read this XML properly from the get-go (and hopefully enable me to expand/collapse nodes)

share|improve this question

This is actually already part of Firefox/Gecko. See an example. The problem is that it only works for XML documents – specifically Content-Type: application/xml. Your page is probably returning a text/html type, causing the browser to use a HTML parser.

share|improve this answer
    
No, Solr returns application/xml – bevacqua Dec 21 '11 at 19:47
1  
The case is: firefox already shows xml documents in a neat readable way. Try graphical.weather.gov/xml/docs/SOAP_Requests/NDFDgen.xml and it will show up good. Otherwise, you have an addon overriding browser's default behavior – Alfabravo Dec 21 '11 at 21:54

If you are comfortable then copy the XML and paste it on XMLSPY

On XMLSPY, you can expand/collapse node in a better way.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .