XML Pretty Printing in Mozilla
Among its new features, Mozilla 1.2.1 now does “pretty printing” on files served up as text/xml
, much like IE has done by default for a while now. Good deal.
So if you have an unstyled XML file, instead of displaying a huge block of text in the browser window so you have to view source to see the XML itself, it displays the XML itself, nicely formatted for easy reading. Even has a collapsing/expanding document tree.
Doesn’t work for files served as application/rss+xml
, though. So far as I can tell, just text/xml
(not that I’ve done extensive testing). ‘Sokay.
And oh yes, if you downloaded Mozilla 1.2, be sure to get 1.2.1, which fixes a DHTML bug.
03 Dec 2002 Sam