RE: excel
"Schnitzer, Jeff" <[email protected]> Tue, 4 Nov 2003 12:36:42 -0800
| Newsgroups | gmane.comp.web.maverick.general |
|---|---|
| Message-ID | <[email protected]> |
Put an "output-type" attribute on the transform element like this: <view name="foo"> <transform path="blah.xsl" output-type="application/vnd.ms-excel"/> </view> You can see the various options in the javadocs for XSLTransformFactory: http://mav.sourceforge.net/api/org/infohazard/maverick/transform/XSLTran sformFactory.html Jeff -----Original Message----- From: Paul Knepper [mailto:[email protected]] Sent: Tuesday, November 04, 2003 10:12 AM To: [email protected] Subject: [Mav-user] excel I am using betwixt and domify. I want to reuse the same controller to either output html (which I already do) and excel. I added another command which uses a different xsl to format for comma separated value. But, the output method is text so it just shows as text in the browser. How do I change the content type so the browser things the response is application/vnd.ms-excel? Thanks, Paul