• Post Reply Bookmark Topic Watch Topic
  • New Topic

XML Notes - III  RSS feed

Vibha Verma
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 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)
 XSL-FO is a document description language
 Within an XSL-FO document, there are two basic parts:
1. The layout for the entire document is contained within a <fo:layout-master-set> element
2. Content to be displayed is nested within <fo age-sequence> elements, which are linked by their master-name attribute to a particular page layout specified in a <fo:simple-page-master> element.
 <fo:simple-page-master> has attributes:
1. page-width
2. page-height
3. margin-left
4. margin-right
5. margin-top
6. margin-bottom
 Region left after <fo:simple-page-master> attributes is: <fo:region-body>. This element has following attributes:
1. <fo:region-before>
2. <fo:region-after>
3. <fo:region-start>
4. <fo:region-end>
 Absolute positions of <fo:region-before> and <fo:region-start> alter if the direction of a line of writing changes.
 Content of the headers and footers is static. Both are represented in <fo:static-content> elements.
 <fo:static-content> elements for both header and footer precede the <fo:flow> element for the main page content.
 Within <fo:flow> elements, there can be a variety of XSL-FO elements:
1. <fo:block>
2. <fo:block-container>
3. <fo:table>
4. <fo:table-and-caption>
5. <fo:list-block>
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!