Contact Us or call 1-877-932-8228


Footnotes can be added to any element with the footnote FO, which takes two children: inline and footnote-body. The syntax is shown below:

<fo:footnote> <fo:inline>1</fo:inline> <fo:footnote-body> <fo:block>1. This is the footnote.</fo:block> </fo:footnote-body> </fo:footnote>

By default, footnotes inherit the properties of their parent elements. If you want a footnote to be formatted differently, which you usually do, you should specify them in the footnote tags.


There is a special region called "xsl-footnote-separator," which is used to create a separator between body content and footnotes.

The example below illustrates how footnotes are created.

Code Sample:

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="">
		<fo:simple-page-master master-name="Page" margin="1in" page-height="4in" page-width="8.5in">
	<fo:page-sequence master-reference="Page">
		<fo:static-content flow-name="xsl-footnote-separator">
				<fo:leader leader-pattern="rule" leader-length="100%"/>
		<fo:flow flow-name="xsl-region-body">
				This is the text.
					<fo:inline font-size="8pt" alignment-baseline="hanging">1</fo:inline>
						<fo:block font-size="8pt">1. This is the footnote.</fo:block>

The output is shown below.