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)

link|improve this question
feedback

2 Answers

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.

link|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
feedback

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

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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