The Contenttype HTTP response header specifies the MIME type. Different flavors of XML can have different MIME types. For example:
XHTML: MIME type
text/htmlSVG: MIME type
image/svgxml
The recent XML Media Types specification (ftp://ftp.isi.edu/in-notes/rfc3023.txt) suggests more variations, such as image/rdf+xml for RDF, and image/xslt+xml for XSLT.
The Oracle Commerce Platform determines which MIME type to use in the following order of precedence:
The MIME type that is set explicitly in the stylesheet via the
mediatypeattribute:<xsl:output mediatype="a/b"/>.The MIME type indicated in the
DynamoHTTPServletResponse(response)The default used by the application server for the specific file type. The default for JSPs is
text/html.
Because the default MIME type is not the expected XSL default mechanism based on the method or the expected text/xml, it is advisable to set the MIME type explicitly in the stylesheet. For information about overriding the default MIME type, see the Platform Installation and Configuration Guide.

