How to publish a PDF Document with two flow data in parallel

Here should go questions about transforming XML with XSLT and FOP.
david-gopois69
Posts: 18
Joined: Fri Dec 15, 2017 6:13 pm

How to publish a PDF Document with two flow data in parallel

Post by david-gopois69 »

Hello,

I would like publish a PDF catalog with illustrations and parts list.
The XML document contains an illustration (graphic tag) followed by a parts lists (several items tags).

I would like generate a PDF having the illustration on an even page and the parts list on the odd pages.
When the part lists is on several pages, I would like repeat the illustration on the even pages.
Is that possible to do this ?

Example of pages sequence:
Page 1: Cover Page:
Page 2: Illustration 1
Page 3: Parts list (beginning)
Page 4: Illustration 1 (repeated)
Page 5: Parts list (end)

Kind regards

David
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Re: How to publish a PDF Document with two flow data in parallel

Post by Dan »

Hello David,

As far as I know, the XSL-FO supports only one flow declaration. Please try to contact a commercial XSL-FO processor vendor, like Antenna House or Xep, they may have the needed extensions and expertise.

Many regards,
Dan
david-gopois69
Posts: 18
Joined: Fri Dec 15, 2017 6:13 pm

Re: How to publish a PDF Document with two flow data in parallel

Post by david-gopois69 »

Dan,
Thank you for your reply.
Regards
David
david-gopois69
Posts: 18
Joined: Fri Dec 15, 2017 6:13 pm

Re: How to publish a PDF Document with two flow data in parallel

Post by david-gopois69 »

Hi,
I have found a solution using markers without using two flows.
I use a marker (fo:marker) to code the reference to the graphic (fo:external-graphic).
To repeat the illustration on even page, I use a retrieve marker (fo:retrieve-marker) in the header of the even page.
Kind regards.
David G
Post Reply