试试这个:
Goal
How to get Excel output instead of HTML code.
Unable to get Excel output from a RDF file from XML Publisher, HTML code shows up as output.
Solution
1. In MIME TYPES the following should be added :
FileFormat MimeType Description
HTML application/vnd.ms-exel Microsoft Excel
2. Change the value of the "Viewer:
Application for HTML" Profile System from "Browser" to "Microsoft excel".