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

[xsl] Append multi-page PDF to end of XSL-FO Output


Subject: [xsl] Append multi-page PDF to end of XSL-FO Output
From: "Mark Shellenberger" <mshellenberger@xxxxxxxxx>
Date: Mon, 10 Nov 2008 10:16:06 -0500

I've been appending a single page PDF as the final page of an XSL-FO output.
Now I need to append multiple pages (from a single file) to the end of the
XSL-FO output.

fo:external-graphic is only outputting the first page of the 8 page document
that I want attached.

Here's the entire page-sequence:

<fo:page-sequence master-reference="mg">
				<fo:flow flow-name="pi">
					<fo:block break-before="page"
break-after="page">
						<fo:external-graphic
	
src="url({$pathname}tpi.pdf)"
							content-width="90%"
	
content-height="90%"/>
					</fo:block>
				</fo:flow>
			</fo:page-sequence>


If the  'tpi.pdf' is a single page everything works fine.  If it is multiple
pages only the first page is output.

I'm using XSLT with Saxon-B 9.1.0.3 and XEP.  The rest of the transform
works and the only change made was the external PDF being attached.

Thanks,
Mark


Current Thread
Keywords