XSL-FO Tutorials - Herong's Tutorial Examples - v2.25, by Herong Yang
RenderX XEP Example - Borders.fo
This section provides a tutorial example on how to run XEP tool in a command line window to process an example XSL-FO document provided by RenderX.
Now let's run a test with XEP to process an example XSL-FO document using commands below in command window:
herong> copy \progra~1\RenderX\xep\examples\basic\borders.fo . 1 file(s) copied. herong> \progra~1\RenderX\xep\xep -fo borders.fo -pdf borders.pdf (document [system-id file:/C:/herong/borders.fo] (validate [validation OK]) (compile (masters (sequence-master [master-name all-pages])) (sequence [master-reference all-pages] (static-content [flow-name xsl-region-before]) (static-content [flow-name xsl-region-after]) (static-content [flow-name xsl-footnote-separator]) (flow [flow-name xsl-region-body]))) (format (sequence [master-reference all-pages] (flow [1][2]) (static-content [1]|xsl-region-after||xsl-region-before|[2] |xsl-region-after||xsl-region-before|))) (generate [output-format pdf][1][2])) herong> dir borders.* 13,430 borders.fo 22,299 borders.pdf
Nice. A 2-page PDF file is generated. If you open borders.pdf with Adobe Acrobat Reader, you will see some block areas with different types of borders on the first page:
Table of Contents
Apache™ FOP (Formatting Objects Processor)
►RenderX XEP as an XSL-FO Tool
Downloading and Installing XEP
►RenderX XEP Example - Borders.fo
XSL-FO Document Basics and Examples
Block-Level Formatting Objects
Inline-Level Formatting Objects
Including Graphics in XSL-FO document
Floating Blocks - "float" and "footnote"
Hyperlinks, Table of Contents and Indexes
Headers and Footers using "static-content"
Font Attributes and Font Families
Apache FOP Font Configurations