
320 • XML & Related Technologies
To understand XSL-FO better, the reader is strongly recommended to compare this output with the XSL-
FO instructions we had written earlier to see how they are used.
6.5.6 Creating Lists in XSL-FO
Suppose we want to create a list of items using XSL-FO, as follows:
List of available items
Stationery items
What do you want to buy today?
• Pen
• Pencil
• Sharpener
• Eraser
• Scale
We will describe the steps to do this, to build on to the concepts necessary to write the code for creating
this list. As in earlier instances, some of the concepts may repeat.
<?xml version=”1.0”?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> ...