On Fri, Mar 05, 2004 at 03:31:19AM -0800, Mark Lundquist wrote: > Hi, > > My application needs to be able to generate data in CSV format to > download to the application user. What's the best way to do this? > > My first guess would be to configure a TextSerializer in the sitemap > with name="csv" and mime-type="application/csv", then generate my CSV > wrapped in a SAX stream and pipe it through this. > > Questions: > 1) Will this work? > 2) What about characters that are represented as entities in the SAX > stream? Will the TextSerializer do what I want with those? > 3) Is there a better way? > > Thanks for any advice, > Mark
I don't have time to check this for you right now , but you could look at how the Cocoon presentation layer in xReporter http://xreporter.cocoondev.org does this. It supports CSV, fixed- width text, etc. --Tim Larson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
