Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 47414 invoked from network); 28 Jun 2000 18:32:18 -0000 Received: from gateway.foliage.com (208.249.210.50) by locus.apache.org with SMTP; 28 Jun 2000 18:32:18 -0000 Received: (from root@localhost) by gateway.foliage.com (8.9.3/8.9.3) id OAA23161 for cocoon-users@xml.apache.org.outgoing; Wed, 28 Jun 2000 14:32:16 -0400 Received: from foliage.com (megadeath.corp.foliage.com [192.9.200.168]) by gateway.foliage.com (8.9.3/8.9.3) with ESMTP id OAA23155 for ; Wed, 28 Jun 2000 14:32:16 -0400 Message-ID: <395A4440.DDBFD10E@foliage.com> Date: Wed, 28 Jun 2000 14:30:24 -0400 From: Vincent Dovydaitis X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: Cocoon+XML+FOP -> .fo -> .pdf ? References: <20000628071338.95508.qmail@hotmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N In your initial xml file place the following lines (outside the document root): where make-fo.xsl is your stylesheet. Within the make-fo.xsl page place the following line: type="text/xslfo" For a more detailed example look at the source in "samples/fo/novel-fo.xsl" and "samples/fo/darkness-novel.xml" in the cocoon distribution. jack jack wrote: > I have some XML documents for which I have written XSL stylesheets which > transform the XML into FO documents, which can then be transformed into PDF. > Both transformations are done using the commandline java programs that > come with FOP. > > Can I get this to all happen automatically with Apache+Cocoon? I know that > Cocoon will automatically turn the .fo documents into PDF if so specified (I > have this working), but is it possible to get Cocoon to apply the stylesheet > to the XML document first (producing the .fo document), then apply the > transformation to PDF? > > Doug Tidwell's tutorial at IBM > (http://www-4.ibm.com/software/developer/education/transforming-xml/xmltopdf/index.html) > seems to imply that this is possible, but I can't get it to work. Pointers, > anyone? > > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org