Re: Problem with XSL stylesheet not being applied when XML served through Tomcat

2007-06-13 Thread Markus Schönhaber
Robert Koberg wrote: > I don't know about konqueror, but Safari supports it. Safari does not > have an interface to apply transformations with JS, however. And Opera > does not support the document function. Though I tend not to like using > a PI in the source XML to trigger the transform (can't c

Re: Problem with XSL stylesheet not being applied when XML served through Tomcat

2007-06-13 Thread Robert Koberg
On Wed, 2007-06-13 at 13:00 +0200, Markus Schönhaber wrote: > > Another comment targeted @ the OP: IMO XSL transformations should be > done on the server side, not on the client side. Doing it on the client > side may be OK if you have a very specific user base and you can be sure > that their cli

Re: Problem with XSL stylesheet not being applied when XML served through Tomcat

2007-06-13 Thread Markus Schönhaber
Owen Rees wrote: > --On Wednesday, June 13, 2007 11:27:45 AM +0200 Markus Schönhaber > wrote: > >> I don't think this has anything to do with Tomcat. It rather seems >> to me that Firefox loads and applies the XSL if the URL referencing >> it points to the same server(?) / base URL (?) the XML fi

Re: Problem with XSL stylesheet not being applied when XML served through Tomcat

2007-06-13 Thread Owen Rees
--On Wednesday, June 13, 2007 11:27:45 AM +0200 Markus Schönhaber wrote: I don't think this has anything to do with Tomcat. It rather seems to me that Firefox loads and applies the XSL if the URL referencing it points to the same server(?) / base URL (?) the XML file comes from. Drop the XSL int

Re: Problem with XSL stylesheet not being applied when XML served through Tomcat

2007-06-13 Thread Markus Schönhaber
Garey wrote: > http://library11.berkeley.edu/~gmills/binds_result.xml > > > http://library11.berkeley.edu:8080/...inds_result.xml > > > > In Firefox 2, the first URL resul

Re: Problem with XSL stylesheet not being applied when XML served through Tomcat

2007-06-13 Thread Richard Kaye
Interesting, and I don't know the answer. Doesn't sound like it's an issue with the mimetype of the main document. One small point is that you load your stylesheet with but the server provides it as "application/xml". AFAIK "text/xsl" was never registered and so you might try "text/xml" or "appl