The XSL Formatting Objects

Here's an overview of the 56 formatting objects that exist as of this writing. We'll see a good number of them in action in this chapter:

  • bidi-override Overrides the default Unicode bidirectionality algorithm direction in mixed-language documents.

  • block Creates a display block. Often used for formatting paragraphs, titles, headlines, figure and table captions, and so on.

  • block-container Generates a block-level reference area.

  • character Represents a character that is associated with a glyph for display.

  • color -profile Declares a color profile for a stylesheet.

  • conditional-page-master-reference Specifies a page master to be used when the given conditions are met.

  • declarations Groups global declarations for a stylesheet.

  • external-graphic Adds an inline graphic to the document, where the graphics data is outside the xml result document.

  • float Can specify that some content is formatted in a separate area at the beginning of the page or is placed to one side.

  • flow Supports the flowing text content that is displayed in pages.

  • footnote Creates a footnote citation and the associated footnote.

  • footnote-body Creates the content of the footnote.

  • initial-property-set Sets the formatting properties for the first line of a block.

  • inline Usually used to format part of the text with a background or give it a border.

  • inline-container Creates an inline reference area.

  • instream-foreign-object Used to insert an inline graphic or other object, where the object data is a descendant of fo:instream-foreign-object .

  • layout-master-set Wrapper for all the masters used in the document.

  • leader Creates a rule or row of a repeating characters or repeating pattern of characters that is used between two text-formatting objects.

  • list-block Used to format a list.

  • list-item Holds the label and the body of an item in a list.

  • list-item-body Holds the content of the body of a list-item .

  • list-item-label Holds the content of the label of a list-item .

  • marker Used with fo:retrieve-marker to create on-the-fly headers or footers.

  • multi-case Adds flow objects that the parent object, which is fo: multi-switch , can show or hide.

  • multi-properties Switches between two or more property sets that are connected to a given part of the content.

  • multi-property-set Indicates an alternative set of formatting properties that can be applied to the content.

  • multi-switch Switches between two or more subtrees of formatting objects.

  • multi-toggle Used inside a fo:multi-case object to switch to another fo:multi-case .

  • page-number Holds the current page number.

  • page-number-citation References the page number for the page containing the cited formatting object.

  • page-sequence Specifies how to create a sequence of pages within a document.

  • page-sequence-master Contains sequences of page masters that are used to generate sequences of pages.

  • region-after Refers to the region located after a fo:region-body region.

  • region-before Refers to the region before a fo:region-body region.

  • region-body Refers to the region in the center of fo:simple-page-master .

  • region-end Refers to the region at the end of a fo:region-body region.

  • region-start Refers to the region starting a fo:region-body region.

  • repeatable-page-master-alternatives Indicates a subsequence made up of repeated instances of a set of alternative page masters.

  • repeatable-page-master-reference Indicates a subsequence of repeated instances of a single page master.

  • retrieve-marker Used with fo:marker to create on-the-fly headers or footers.

  • root The top node of an XSL-formatted document.

  • simple-link Represents the start location in a simple link.

  • simple-page-master Gives the geometry of a page, which may be divided into up to five regions .

  • single-page -master-reference Indicates a subsequence made up of a single instance of a single page master.

  • static-content Contains a sequence of formatting objects that should be presented in a single region or repeated in like-named regions on one or more pages in the page sequence. Most often used for repeating headers and footers.

  • table Formats the data in a table.

  • table-and-caption Formats the data and caption of a table.

  • table-body Holds the content of the table body.

  • table-caption Holds block-level formatting objects, which, in turn , hold the caption for a table.

  • table- cell Groups content to be placed in a table cell.

  • table-column Sets characteristics for table cells that have the same column.

  • table-footer Holds the content of the table footer.

  • table-header Holds the content of the table header.

  • table-row Groups table cells into rows.

  • title Gives a document a title. The content of the fo:title object can be formatted and displayed in the document.

  • wrapper Indicates inherited properties for a group of formatting objects.



Real World XML
Real World XML (2nd Edition)
ISBN: 0735712867
EAN: 2147483647
Year: 2005
Pages: 440
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net