From: Wolfgang M. <wol...@ex...> - 2009-12-13 19:02:28
|
> The stylesheet specifies: > > <xsl:output media-type="application/xml" method="xml" indent="yes"/> > > but the returned transformed document is has a mimetype of text/html The REST servlet ignores the media type set by the stylesheet. This behaviour can be changed by adding a parameter to the EXistServlet configuration in web.xml: <init-param> <param-name>dynamic-content-type</param-name> <param-value>true</param-value> </init-param> I can't remember why we did not set this as default... I guess it was some backwards compatibility issue. Wolfgang |