Schema Central > XSL-FO 1.1 > fo.xsd > fo:root
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

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

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>
   <fo:layout-master-set>
      <fo:simple-page-master>
         <fo:region-body/>
         <fo:region-before/>
         <fo:region-after/>
         <fo:region-start/>
         <fo:region-end/>
      </fo:simple-page-master>
   </fo:layout-master-set>
   <fo:declarations>
      <fo:color-profile/>
   </fo:declarations>
   <fo:bookmark-tree>
      <fo:bookmark>
         <fo:bookmark-title>Any text</fo:bookmark-title>
         <fo:bookmark>...
         </fo:bookmark>
      </fo:bookmark>
   </fo:bookmark-tree>
   <fo:page-sequence>
      <fo:title>Any text, intermingled with:
         <fo:bidi-override>Any text, intermingled with:...
         </fo:bidi-override>
      </fo:title>
      <fo:folio-prefix>Any text, intermingled with:
         <fo:bidi-override>Any text, intermingled with:...
         </fo:bidi-override>
      </fo:folio-prefix>
      <fo:folio-suffix>Any text, intermingled with:
         <fo:bidi-override>Any text, intermingled with:...
         </fo:bidi-override>
      </fo:folio-suffix>
      <fo:static-content>
         <fo:block>Any text, intermingled with:...
         </fo:block>
      </fo:static-content>
      <fo:flow>
         <fo:block>Any text, intermingled with:...
         </fo:block>
      </fo:flow>
   </fo:page-sequence>
</fo:root>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to contrib@functx.com