[Previous] [Contents] [Next]


Layout Formatting Objects


The current XSL working draft describes only the page-sequence object and the simple-page-master object. More formatting objects will be added as the draft gains more form. These are the formatting objects that have been specified so far:

page-sequence-A page-sequence object acts as an ancestor to a series of pages, either printed pages or screen display pages.
A page-sequence object contains one or more formatting objects or page-sequences. It can hold one or more single-page-master children, or up to six child queues.
In practice a page-sequence acts as a container for style rules that can be inherited by the rest of the document. For example, the template rule
        <xsl:template match="/">
           <fo:page-sequence
              font-family="times new roman,serif"
              font-size="12pt"
              background-color= "white'
              color= "black">
            <xsl:apply-templates/>
           </fo:page-sequence>

        </xsl:template>

sets the font and color for the other formatting objects in the result tree, unless alternates are specified.
simple-page-master-A simple-page-master formatting object describes a simple page that can be divided into six areas. This model can be used for either print or screen rendering.
The element must have a master-name attribute, which can have one of the following values:
first-Formatting for the first page of a series of pages.
odd-The equivalent of the left-hand page in print (verso).
even-The equivalent of right-hand page in print (recto).
scrolling-The type of page used for screen display.

[Previous] [Contents] [Next]