You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by kyle koss <kk...@xperient.net> on 2002/03/04 19:25:37 UTC

write generated pdf to file

Hello:
 
I am using cocoon to dynamically generate pdf's using XML and an XSL-FO.
What I would like to know is, is there any way to tell cocoon to also
save the generated pdf to a file as well? Or, if it does already, where
does it save them?
In my sitemap, I have:
 
<map:match pattern="invoices/*.pdf">
    <map:generate src="invoices/{1}.xml"/>
    <map:transform src="invoices/invoice.xsl"/>
    <map:serialize type="fo2pdf"/>
   </map:match>
 
Is there something I can add to this to make it save the pdf?
 
Thanx, Kyle