XML technologies / XSL-FO / Reference / Elements in XSL-FO / fo:footnote
(Excerpt from "XSL-FO ― Die Referenz" by Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Recommendation section: 6.12.3
Category: 6.12 Out-of-line Formatting Objects
Description
This element creates a reference to a footnote.
XSL-FO version: 1.0
Parent elements
<fo:basic-link> , <fo:bidi-override> , <fo:block> , <fo:folio-prefix> , <fo:folio-suffix> , <fo:index-page-citation-list-separator> , <fo:index-page-citation-range-separator> , <fo:index-page-number-prefix> , <fo:index-page-number-suffix> , <fo:inline> , <fo:leader> , <fo:marker> , <fo:multi-case> , <fo:multi-toggle> , <fo:title> and <fo:wrapper>
Child elements
This element specifies the content to display in the footnote area. | |
This element creates an inline area that applies separate formatting properties to specific portions of text in a block, for example to emphasize passages with italics. |
Attributes
This attribute uniquely identifies an object so that other objects can reference it. | |
This attribute defines an index class for individual index entries (index-key) or an entire area. All index entries in that area belong to the class. When referencing index entries (fo:index-key-reference) belonging to different classes, their page numbers are listed separately even if they are consecutive. For example, "1-8" becomes "1-4,5-8" if entries on pages 1-4 belong to one class and pages 5-8 to another. This is useful when pages are grouped into sections with different numbering systems. A range such as "I-14" can thus be avoided and replaced with "I-V,1-14". | |
This attribute defines an index entry. The supplied value is used as the entry’s identifier. An index entry reference (fo:index-key-reference) can reference all entries with this identifier and add their page numbers to a page citation list (fo:index-page-citation-list). | |
This attribute creates content-related identifiers that provide alternative output devices, such as audio output, with information about the XML element’s content. | |
This attribute identifies an XML document as the source document. If the renderer cannot interpret the FO document, for example for a hypothetical speech output, the source document can also be consulted. It has no practical significance. |
Support:
Conformance level | Antenna House | FOP | RenderX XEP | Altsoft XML2PDF | Compart DocBridge |
Extended | Y | P | Y | Y | Y |
XSL-FO example:
<fo:root font-family="Arial" font-size="10pt" line-height="1.2em" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions">
<fo:layout-master-set>
<fo:simple-page-master master-name="Inhalt-Seiten" margin="0mm 0mm 0mm
0mm" page-height="150mm" page-width="148mm">
<fo:region-body margin="10mm 15mm 10mm
25mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="Inhalt-Seiten" font-size="10pt">
<fo:static-content flow-name="xsl-footnote-separator">
<fo:block text-align="justify" space-before="5mm" space-after="3mm">
<fo:leader leader-length="30%" rule-thickness="1pt" leader-pattern="rule"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block page-break-inside="auto" margin-bottom="10pt">
Als Gregor Samsa eines Morgens aus unruhigen Träumen erwachte, fand er sich in
seinem Bett zu einem ungeheueren Ungeziefer verwandelt.
<fo:footnote>
<fo:inline baseline-shift="super" font-size="70%">
1
</fo:inline>
<fo:footnote-body>
<fo:list-block provisional-distance-between-starts="3mm">
<fo:list-item>
<fo:list-item-label>
<fo:block>
<fo:inline baseline-shift="super" font-size="70%">
1
</fo:inline>
</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block margin-left="3mm">
Dieser Text ist
von Franz Kafka
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:footnote-body>
</fo:footnote>
Er lag auf seinem panzerartig harten Rücken und sah, wenn er den Kopf ein wenig
hob, seinen gewölbten, braunen, von bogenförmigen Versteifungen geteilten Bauch, auf
dessen Höhe sich die Bettdecke, zum gänzlichen Niedergleiten bereit, kaum noch
erhalten konnte. Seine vielen, im Vergleich zu seinem sonstigen Umfang kläglich
dünnen Beine flimmerten ihm hilflos vor den Augen.
<fo:footnote>
<fo:inline baseline-shift="super" font-size="70%">
2
</fo:inline>
<fo:footnote-body>
<fo:list-block>
<fo:list-item>
<fo:list-item-label>
<fo:block>
<fo:inline baseline-shift="super" font-size="70%">
2
</fo:inline>
</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block margin-left="3mm">
ebd.
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>More information online about
In the output:
Excerpt from the W3C Recommendation: