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:

C:\herong>copy \progra~1\RenderX\xep\examples\basic\borders.fo .
        1 file(s) copied.

C:\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]))

C:\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 some block areas with different types of borders on the first page:

RenderX XEP XSL-FO Example - Borders.png

Last update: 2016.

Table of Contents

 About This XSL-FO Tutorial Book

 Introduction of XSL-FO

 Apache™ FOP (Formatting Objects Processor)

RenderX XEP as an XSL-FO Tool

 What Is XEP?

 Downloading and Installing XEP

RenderX XEP Example - Borders.fo

 Introduction of Area Model

 XSL-FO Document Basics and Examples

 Page Layout Masters

 Block-Level Formatting Objects

 Inline-Level Formatting Objects

 Including Graphics in XSL-FO document

 Table of Rows and Columns

 List, Item, Label, and Body

 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

 RenderX XEP Font Configurations

 References

 PDF Printing Version