XML technologies / XSL-FO / Reference / Elements in XSL-FO

(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

This page contains an alphabetical list of all XSL-FO elements, with links to detailed descriptions and code examples.

B

fo:basic-link

This element creates a link in the document pointing to an internal or external reference.

fo:bidi-override

This element allows the desired writing direction to be set if the default Unicode bidirectional algorithm cannot be applied.

fo:block

This element creates a rectangular area that allows many kinds of elements, such as tables, lists and graphics. Attributes can be used to configure various aspects of its appearance. Blocks can be nested to any depth. Information from parent blocks is inherited unless different settings are specified for the child block (inheritance).

fo:block-container

A block container can group any number of blocks. Attributes can be used to specify the container’s desired position in the document.

fo:bookmark

This element identifies an access point by name and specifies its location in the current document or another external document. A bookmark can be subdivided into a sequence of bookmarks or sub-bookmarks to as many levels as the author requires.

fo:bookmark-title

This element identifies an access point for a bookmark in human-readable form.

fo:bookmark-tree

This element contains a list of access points in the document, such as a table of contents or a list of figures or tables. Each access point is represented by a bookmark.

back to top

C

fo:change-bar-begin

This element marks the start of a "change region", which is ended by its matching fo:change-bar-end. The change region has a change bar running along either the start or end edge of the column. The change bar’s appearance is determined by the values of the corresponding properties.

fo:change-bar-end

This element marks the end of a "change region" started by its matching fo:change-bar-begin.

fo:character

This element provides separate rendering of individual characters.

fo:color-profile

This element creates a color profile.

fo:conditional-page-master-reference

This element names a page master object to be used when the required conditions are met.

back to top

D

fo:declarations

This element creates global declarations.

back to top

E

fo:external-graphic

This element inserts external graphics into the document. Attributes provide numerous configuration options.

back to top

F

fo:float

This element positions content relative to a display block, for example to wrap text around graphics or create marginal notes.

fo:flow

Flow object; creates, within a page sequence (<fo:page-sequence>), the flowing area for the main text forming the document’s content

fo:flow-assignment

This element assigns a sequence of flows to a sequence of regions.

fo:flow-map

This element assigns flows to regions.

fo:flow-name-specifier

This element represents a flow in a fo:flow-source-list.

fo:flow-source-list

This element represents the sequence of flows to be assigned in a particular fo:flow-assignment.

fo:flow-target-list

This element represents the sequence of regions to which flows are assigned in a particular fo:flow-assignment.

fo:folio-prefix

This element provides a static prefix for folio numbers within a page sequence.

fo:folio-suffix

This element provides a static suffix for folio numbers within a page sequence.

fo:footnote

This element creates a reference to a footnote.

fo:footnote-body

This element specifies the content to display in the footnote area.

back to top

I

fo:index-key-reference

This element generates a set of cited page items for all occurrences of the specified index key.

fo:index-page-citation-list

This element groups the collections of cited page items generated by its fo:index-key-reference child elements. Ultimately, fo:index-page-citation-list is used to create a formatted list of page numbers and page ranges (a page citation list).

fo:index-page-citation-list-separator

This element provides the separator between individual page numbers or page ranges in the generated page citation list.

fo:index-page-citation-range-separator

This element provides the separator between two page numbers forming a range in the generated page citation list.

fo:index-page-number-prefix

This element provides a static prefix for the cited page items generated by fo:index-key-reference.

fo:index-page-number-suffix

This element provides a static suffix for the cited page items generated by fo:index-key-reference.

fo:index-range-begin

This element marks the start of an "indexed range" associated with an index key. The range is closed by a corresponding fo:index-­range-end.

fo:index-range-end

This element marks the end of an "indexed range" started by its matching fo:index-range-begin.

fo:initial-property-set

This element specifies separate formatting properties for the first line of a block.

fo:inline

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.

fo:inline-container

This element creates a container in which shared settings can be applied to several inline areas.

fo:instream-foreign-object

This element allows inline graphics or other inline objects to be inserted into the document.

back to top

L

fo:layout-master-set

This element defines all the masters for the pages or page sequences to be used.

fo:leader

This element creates a line of repeated characters to separate two text formatting objects, for example headings and their page numbers in a table of contents.

fo:list-block

This element creates an area for displaying a list or enumeration.

fo:list-item

This element contains both the label information and the body of a list item.

fo:list-item-body

This element contains the body of the list item, the area for its text content.

fo:list-item-label

This element contains a list item’s label, such as its bullet or number.

back to top

M

fo:marker

This element marks the content of a specific area. fo:retrieve-marker retrieves it elsewhere, for example to create running headings.

fo:multi-case

This element is a child of <fo:multi-switch> and contains subtrees of formatting objects that the parent element can show or hide.

fo:multi-properties

This element allows switching between different sets of properties.

fo:multi-property-set

Alternative sets of properties can be specified here and selected by the parent element <fo:multi-properties>.

fo:multi-switch

This element allows switching between different subtrees of formatting objects.

fo:multi-toggle

When used inside a <fo:multi-case> element, this element provides access to other <fo:multi-case> elements.

back to top

P

fo:page-number

This element displays the current page number in the document.

fo:page-number-citation

This element references the number of the page containing a specific formatting object, for example to display page numbers alongside headings in a table of contents.

fo:page-number-citation-last

This element references the number of the last page containing an area that (a) is returned by the referenced formatting object and (b) has an area-class compatible with the specified page citation strategy.

fo:page-sequence

This element defines how page sequences are used within a document. It also embeds the document content in the page sequence.

fo:page-sequence-master

This element defines the order of the page masters to use. The required master-name attribute references the page master to use.

fo:page-sequence-wrapper

This element specifies inherited properties for a group of fo:page-sequence formatting objects. It has no additional formatting semantics.

back to top

R

fo:region-after

This element configures the area below the fo:region-body region, that is, the page footer area.

fo:region-before

This element configures the area above the fo:region-body region, that is, the page header area.

fo:region-body

This element names the central region, the main area of the page. The document’s main content is displayed here.

fo:region-end

The region to the right of <fo:region-body> for left-to-right writing.

fo:region-name-specifier

This element represents a region in a fo:flow-target-list.

fo:region-start

The region to the left of <fo:region-body> for left-to-right writing.

fo:repeatable-page-master-alternatives

This element defines how different page masters are repeated, for example by alternating left- and right-aligned page masters.

fo:repeatable-page-master-reference

This element defines the repetition of a single page master.

fo:retrieve-marker

This element retrieves the area marked in <fo:marker>, for example for running headings.

fo:retrieve-table-marker

Together with <fo:marker>, this element allows areas in tables to be repeated.

fo:root

The root element or document node of an XSL-FO document.

back to top

S

fo:scaling-value-citation

This element retrieves the scaling factor of the referenced fo:external-graphic.

fo:simple-page-master

This element defines individual pages. Desired values can be assigned to each of a page’s five regions.

fo:single-page-master-reference

Within a <fo:page-sequence-master>, a page master is used only once.

fo:static-content

This element contains information about formatting objects that can be applied on every page or on a specific number of pages, for example space for Footnotes, running headings).

back to top

T

fo:table

This element creates a table.

fo:table-and-caption

This element creates a table with a caption above or below it.

fo:table-body

This element contains the table body, the main area of a table. It specifies the individual rows and columns.

fo:table-caption

This element specifies a table caption above or below the table.

fo:table-cell

This element places data in a table cell.

fo:table-column

This element specifies properties for table cells in the same column.

fo:table-footer

This element creates the content of a table footer.

fo:table-header

This element creates the content of a table header.

fo:table-row

This element groups table cells (<fo:table-cell>) into a row.

fo:title

This element specifies the title of a page sequence (<fo:page-sequence>).

back to top

W

fo:wrapper

Properties for a group of formatting objects can be specified in <fo:multi-properties>.

back to top

back to top