Schema Central  >  XSL-FO 1.1  >  fo.xsd  >  fo:root
Advanced search

fo:root

The top node of an XSL result tree. This tree is composed of formatting objects.

See http://www.w3.org/TR/xsl11/#fo_root

Element information

Namespace: http://www.w3.org/1999/XSL/Format

Schema document: fo.xsd

Type: Anonymous

Properties: Global, Qualified

Content

  • Sequence [1..1]
    1. fo:layout-master-set [1..1]A wrapper around all masters used in the document.
    2. fo:declarations [0..1]Groups global declarations for a stylesheet.
    3. fo:bookmark-tree [0..1]A list of access points within the document such as a table of contents, a list of figures or tables, etc. Each access point is represented by a bookmark.
    4. Choice [1..*]
      • fo:page-sequenceSpecifies how to create a (sub-)sequence of pages within a document; for example, a chapter of a report. The content of these pages comes from flow children of the fo:page-sequence. Specifies that only the children of fo:markers that are descendants of any fo:flow within the containing fo:page-sequence may be retrieved by this fo:retrieve-marker.
      • fo:page-sequence-wrapperSpecifies inherited properties for a group of fo:page-sequence formatting objects. It has no additional formatting semantics.

Attributes

NameOccTypeDescriptionNotes
source-document [0..1]AnonymousA pointer back to the original XML document(s) used to create this formatting object tree, in accordance with the Dublin Core definition of "Source" ("A Reference to a resource from which the present resource is derived." See: http://purl.org/DC/documents/rec-dces-19990702.htm .) The value is not validated by and has no inherent standardized semantics for any XSL processor.from group fo:source-document
role [0..1]AnonymousA hint for alternate renderers (aural readers, etc.) as to the role of the XML element or elements that were used to construct this formatting object, if one could be identified during XSLT tree construction. This information can be used to prepare alternate renderings when the normal rendering of a formatting object is not appropriate or satisfactory; for example, the role information can be used to provide better aural renderings of visually formatted material. This property is not inherited, but all subsidiary nodes of this formatting object that do not bear a role property should utilize the same alternate presentation properties. (It is not inherited because knowledge of the start and end of the formatting object subtree generated by the element may be needed by the renderer.)from group fo:role
id [0..1]fo:idAn identifier unique within all objects in the result tree with the fo: namespace. It allows references to this formatting object by other objects.from group fo:id
index-class [0..1]fo:stringAssociates an index class with a formatting object that also has an index key specified.from group fo:index-class
index-key [0..1]fo:stringAssociates an index key with the formatting object on which it is specified.from group fo:index-key
media-usage [0..1]AnonymousHow the selected display medium is used to present the page(s) specified by the stylesheet.from group fo:media-usage

Sample instance

<fo:root> <--any elements or text--> </fo:root>