xslt.setXSL(state.xslUri);
else
xslt.setXSL(state.sslUri, state.xslTitle, state.runtimeData.getBrowserInfo());
// Determine mime type
MediaManager mm = MEDIAMANAGER;
String media = mm.getMedia(state.runtimeData.getBrowserInfo());
String mimeType = mm.getReturnMimeType(media);
if (MediaManager.UNKNOWN.equals(mimeType)) {
String accept = state.runtimeData.getBrowserInfo().getHeader("accept");
if (accept != null && accept.indexOf("text/html") != -1) {
mimeType = "text/html";
}