Re: [xep-support] Variable amount of data and different page layout

From: Geoff Levner <>
Date: Thu May 12 2005 - 07:18:17 PDT

Generally speaking, you can use fo:conditional-page-master-reference
for that sort of thing: you can specify one page-master for the first
page, one for the last page, and one for pages inbetween, for example.
Your specific case is made more difficult, though, by the fact that the
format of the first page depends on the length of the document (footer
only for single-page documents). I don't know how you would handle
that automatically.


On 12 May 2005, at 15:10, Safranek István wrote:

> Hi!
> I have many XML with variable amount of data.
> 1st sample is a single page document: Main header, body, footer.
> 2nd sample is a double-page document: 1st page: Main header, body; 2nd
> page: Secondary header, body, footer.
> 3rd sample is a multi-page document: 1st page: Main header, body; 2nd
> and other pages: Secondary header, body; Last page: secondary header,
> body, footer.
> Is there a way to create one XSL to generate the proper PDFs?

(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Thu May 12 08:03:24 2005

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 08:03:26 PDT