|
|
|
SCWD home | SCJP home | XML books
XSL-FO
-
XSL-FO stands for XSL-Formatting Objects
-
XSL Formatting Objects, is a powerful and complex XML based technology for the presentation of XML on screen or on paper.
-
XSL has two parts - XSLT(transformation) and XSL-FO(formatting)
-
2 unicode formats are the basis of XML characters - UTF-8 and UTF-16.
- XSL-FO is a document description language
- Within an XSL-FO document, there are two basic parts:
- The layout for the entire document is contained within a element
- Content to be displayed is nested within elements, which are linked by their master-name attribute to a particular page layout specified in a element.
- has attributes:
page-width, page-height, margin-left, margin-right, margin-top, margin-bottom
- Region left after attributes is: . This element has following attributes:
-
-
-
-
- Absolute positions of and alter if the direction of a line of writing changes.
- Content of the headers and footers is static. Both are represented in elements.
- elements for both header and footer precede the element for the main page content.
- Within elements, there can be a variety of XSL-FO elements:
-
-
-
-
-
SCWD home | SCJP home | XML books
|