[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How to: Using XSL-FOP appending two pdf byte array generated dynamically


Subject: Re: [xsl] How to: Using XSL-FOP appending two pdf byte array generated dynamically
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 07 Oct 2003 22:09:07 +0200

vinod.agarwal@xxxxxxxxxxxxxx wrote:
      I want to append two pdf outputs into a single pdf file. How do I do
this using FOP ?

Well, this is waaaaay off topic here, but anyway: you can't do it this way. Approaches: - Somehow process your source XML files in a way which results in *one* FO, thereby getting the desired PDF directly. If you produce the FO with XSLT, check the document() function for pulling in source XML as well as xsl:include/xsl:import for merging the XSLT. - Use iText or another PDF tool for merging the PDF byte streams. Get some hints from examples from the FOP web site (start with the FAQ) or take a peek at the iText tutorial and sample programs.

J.Pietschmann


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Current Thread
Keywords