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: 17
Joined: Fri Dec 15, 2017 6:13 pm

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

Post by david-gopois69 » Tue Oct 23, 2018 4:06 pm

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: 415
Joined: Mon Feb 03, 2003 10:56 am

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

Post by Dan » Wed Oct 24, 2018 4:25 pm

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: 17
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 » Fri Oct 26, 2018 9:32 am

Dan,
Thank you for your reply.
Regards
David

david-gopois69
Posts: 17
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 » Thu Nov 22, 2018 11:22 am

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