Creating Flows: fo:flow

Flow objects are called that because the text in them “flows” and is arranged to fit the page by the displaying software. The content of a page is handled with flow objects.

There are two kinds of flow objects: fo:static-content and fo:flow. A fo:static-content flow object holds content, such as the text that goes into headers and footers that are repeated on the pages of the page sequence. The fo:flow flow object, on the other hand, holds the text itself that makes up the content of the document. The following fo:flow object has a single property: flow-name.

I'll add a fo:flow object to ch14_02.xsl to handle the text content of ch14_01.xml. To make sure that the text content of ch14_01.xml is transformed into that flow, ...

Get Real World XML 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.