cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning von Bargen <>
Subject AW: Transforming XML into CSV
Date Fri, 23 Feb 2001 07:46:47 GMT
> -----Urspr√ľngliche Nachricht-----
> Von:	Brouillet Yannick []
> Gesendet am:	Mittwoch, 21. Februar 2001 12:40
> An:
> Betreff:	Transforming XML into CSV
> Hi.
> I know how to transform an XML file into a CSV file using XSL and Cocoon,

> but on the client IE 5 doesn't recognize it as a CSV file (I would like   
> IE5 to load the file into Excel as a CSV, or at least to propose the   
> Excel Icon in the icon bar).
> Thank you for your help.

Insert this line into the HTTP header and use a MIME type of text/csv:

Content-Disposition: inline; filename=foo.csv

At least this works for Internet Explorer 5.5 (should work with IE5, too):

Sorry, I don't know how to this exactly with Cocoon.
(I'm still waiting for a C2 beta with caching before I'll do any Cocoon
research :-)


> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <>
> To unsubscribe, e-mail: <>
> For additional commands, e-mail: <>

View raw message