[xep-support] Variable amount of data and different page layout
Geoff Levner
geoff at n-generate.com
Thu May 12 07:18:17 PDT 2005
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.
Geoff
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 majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
More information about the Xep-support
mailing list