|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Tomcat serving XSLT confuses Netscape?
The content-type on the XSL mUST be either text/xml or application/xml. Check out Mozilla's XSLT page: http://www.mozilla.org/projects/xslt/ Frequently Asked Questions 1. Why isn't my stylesheet applied? Make sure the mime type for both source and stylesheet are set to a XML mimetype, namely text/xml or application/xml. The XSLT namespace is http://www.w3.org/1999/XSL/Transform. Mime type handling in Mozilla is strict, in contrast to IE. Write some cgi, and you'll love it. .. -----Original Message----- .. From: Tim Darling [mailto:tdarling@xxxxxxxxxxx] .. Sent: Monday, May 05, 2003 11:20 AM .. To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx .. Subject: Re: Tomcat serving XSLT confuses Netscape? .. .. .. .. Thanks for both responses. Now I have: .. .. http://ecedbdev.eng.umd.edu:8080/ece/facultyAndStaff/1.xml.jsp .. has content-type: text/xml .. .. and .. http://ecedbdev.eng.umd.edu:8080/ece/facultyAndStaff/1.xsl .. has content-type: text/xsl .. .. But Netscape 7.0 still won't display 1.xml.jsp as HTML. .. Why ? Thanks .. .. .. .. > Date: Fri, 02 May 2003 10:52:50 -0600 .. > From: Rick Taylor <taylor@xxxxxxxx> .. > Subject: Re: Tomcat serving XSLT confuses Netscape? .. > .. > Tim, .. > .. > Notice the Content-Type: text/plain .. > The page is being served up as text and Netscape is interpreting it .. > correctly as such. .. > You might check the mime-mapping in tomcat 'conf\web.xml'? .. to make sure .. > that .xml is mapped as xml. .. > .. > rick .. > .. > At 12:21 PM 5/2/03 -0400, you wrote: .. > .. > >I have 2 indentical XML + XSLT files on 2 different servers. Both .. > produce .. > >a nice HTML doucment with IE. But only the first one .. works in Netscape .. > >7.02. The first one is Apache+FrontPage. The second is Tomcat. .. > >Why won't the Tomcat page work!? .. > > .. > >These are the files (and the full HTTP responses): .. > >Has anyone seen this before? Thanks -T .. .. .. .. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list .. .. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








