Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 9063 invoked from network); 2 Mar 2005 03:54:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Mar 2005 03:54:37 -0000 Received: (qmail 31061 invoked by uid 500); 2 Mar 2005 03:54:36 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 31023 invoked by uid 500); 2 Mar 2005 03:54:36 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@cocoon.apache.org Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 31010 invoked by uid 99); 2 Mar 2005 03:54:36 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 01 Mar 2005 19:54:36 -0800 Received: (qmail 9022 invoked from network); 2 Mar 2005 03:54:35 -0000 Received: from localhost.hyperreal.org (HELO minotaur.apache.org) (127.0.0.1) by localhost.hyperreal.org with SMTP; 2 Mar 2005 03:54:35 -0000 Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: docs@cocoon.apache.org To: docs@cocoon.apache.org Subject: =?iso-8859-1?q?=5BCocoon_Wiki=5D_Updated=3A__SavingFilesToFileSystem?= Date: Wed, 02 Mar 2005 03:54:35 -0000 Message-ID: <20050302035435.8965.45773@minotaur.apache.org> X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 @@ =3D Saving PDF files to the server file system =3D = =3D=3D Introduction =3D=3D - 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 i= t 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 n= ot elegant and smooth. = = - The solution I suggets uses FlowScript technology introduced recently in = Cocoon. +The solution I suggets uses FlowScript technology introduced recently in C= ocoon. = =3D=3D Process =3D=3D * Open the "sitemap.xmap" for "blablabla" directory and create a usual pi= peline 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 extensi= on, for example "*.do".