Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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 –  Nico 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.