parameters.put( "baseUrl", PentahoSystem.getApplicationContext().getBaseUrl() ); //$NON-NLS-1$
parameters.put( "actionUrl", this.getUrlFactory().getActionUrlBuilder().getUrl() ); //$NON-NLS-1$
parameters.put( "displayUrl", this.getUrlFactory().getDisplayUrlBuilder().getUrl() ); //$NON-NLS-1$
// Uncomment this line for troubleshooting the XSL.
StringBuffer content =
XmlHelper.transformXml( parameterXsl, getSolutionPath(), document.asXML(), parameters, resolver );
IContentItem contentItem = outputHandler.getFeedbackContentItem();
contentItem.setMimeType( "text/html" ); //$NON-NLS-1$
OutputStream os = contentItem.getOutputStream( getActionName() );
try {