On Tuesday 19 November 2002 13:18, Jayson Falkner wrote:

> If you are taking about the pretty color-coded, tree display IE does by
> default with XML that is something which you can't easily replicate (but
> why would you want to??) on Mozilla/Netscape 7.

That output is produced by an XSL file in IE (although using the draft 
namespace, not the XSLT standard). You can load it in IE from [1].

The effect can also be replicated in Mozilla rather easily. XSLT versions of 
this template exist and can easily be found on the web, while many have done 
a lot better, generic XML renderers. All you need to do this in Moz is 
(depending your test case) any of:

* dynamically add an XML PI to the response XML document
* call the XSLT transformation dynamically with JavaScript
* press View->Source ;-)

I don't agree in setting the MIME to text/plain, it missinforms applications 
about the document.

[1] res://msxml.dll/DEFAULTSS.xsl

Manos

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to