Page sequences

When a number of different templates are defined (using Simple Page Master elements), the way in which these templates are selected for the content flow needs to be defined. One way to do this is simply to assign each section of the content to a different master, as described above. But this technique is very limited.

In this book, for example, the text from each chapter would need to be flowed into three different templates. As much text as will fit on the first page needs to use a template that is only used for this page. Following this, as much text as will fit on the next page needs to occupy a page that follows the template for left-side pages.

It is not possible for the document author to determine in advance what text will ...

Get XSL companion, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.