XSL-FO is used to format XML data for output.
XSL-FO page syntax
XSL-FO uses page templates called "Page Masters" to define the layout of the page. xslfo-pages
XSL-FO page example
<fo:simple-page-master master-name="intro"> <fo:region-body margin="5in" /> </fo:simple-page-master> <fo:simple-page-master master-name="left"> <fo:region-body margin-left="2in" margin-right="3in" /> </fo:simple-page-master> <fo:simple-page-master master-name="right"> <fo:region-body margin-left="3in" margin-right="2in" /> </fo:simple-page-master>