Positioning Text with Block Containers: <fo:block-container>
XSL-FO processors are much like HTML browsers in one respect: They insert blocks into a page’s “flow,” which means those blocks can flow throughout the document, just as they would in an HTML browser. On the other hand, sometimes it’s important to place items in a page at specific locations. And in XSL-FO, you can position items at absolute page coordinates, or at relative ones with respect to other items.
To show how this works, I use the <fo:block-container> element, which works as you’d expect: as a container for blocks. What makes this element useful is that block containers support absolute positioning properties, which blocks don’t.
You can use the following properties with the ...
Get Inside XSLT 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.