Date: 2005-03-01T19:54:35 Editor: AlexKachanov Wiki: Cocoon Wiki Page: SavingFilesToFileSystem URL: http://wiki.apache.org/cocoon/SavingFilesToFileSystem
no comment Change Log: ------------------------------------------------------------------------------ @@ -1,11 +1,11 @@ = Saving PDF files to the server file system = == Introduction == - Suppose we need to save a PDF file to the file system instead of sending it to the user's browser. I will explain later why we would need this. +Suppose we need to save a PDF file to the file system instead of sending it to the user's browser. I will explain later why we would need this. - Some people suggest to use SourceWrite transformer. But this solution is not elegant and smooth. +Some people suggest to use SourceWrite transformer. But this solution is not elegant and smooth. - The solution I suggets uses FlowScript technology introduced recently in Cocoon. +The solution I suggets uses FlowScript technology introduced recently in Cocoon. == Process == * Open the "sitemap.xmap" for "blablabla" directory and create a usual pipeline that creates PDF files from XML files. You can use any XML file and any XSL-FO stylesheet from Cocoon package. Bind it to some abstract extension, for example "*.do".
