Definitive XSL-FO

( 1 )

Overview

“Holman is my main source of information on XSL-FO … a life saver on projects where we print XML information.”

—W. Eliot Kimber, ISOGEN International

  • Format, paginate, and publish your XML data with full graphic-arts quality!
  • Comprehensive: Covers every formatting object in the W3C® XSL-FO Recommendation
  • Proven: Based on fully tested ...
See more details below
Other sellers (Paperback)
  • All (14) from $1.99   
  • New (5) from $31.50   
  • Used (9) from $1.99   
Sending request ...

Overview

“Holman is my main source of information on XSL-FO … a life saver on projects where we print XML information.”

—W. Eliot Kimber, ISOGEN International

  • Format, paginate, and publish your XML data with full graphic-arts quality!
  • Comprehensive: Covers every formatting object in the W3C® XSL-FO Recommendation
  • Proven: Based on fully tested materials used in public seminars and corporate training programs throughout the world
  • Concise: Bullet-point, bite-size presentation helps you master XSL-FO fast!
  • Authoritative: From the founder of the OASIS XML and XSLT conformance committees

“For centuries, humanity has accessed information with proven page-oriented navigational tools and sophisticated formatting. Just printing Web pages won’t do this job for your data—you need the power of XSL-FO. Join the thousands who have learned how from Ken Holman.”

—Charles F. Goldfarb

The definitive guide to state-of-the-art XML publishing with XSL-FO!

XSL-FO (XSL-Formatting Objects) enables enterprise applications to publish graphic-arts quality printed and electronic documents from any XML data store, no matter how large or complex. In Definitive XSL-FO, one of the world’s leading XML experts shows how XSL-FO is revolutionizing document publishing. The book offers concise, authoritative, example-rich guidance on using the entire XSL-FO specification, including:

  • XSL-FO’s objectives, semantics, and vocabulary
  • Key concepts, including layout-based versus content-based formatting, and formatting versus rendering
  • Area and page fundamentals: area models, block and inline basics, containers, page definition, and sequencing
  • Generic body constructs and tables
  • Static content and page geometry sequencing
  • Footnotes, floats, breaks, keeps, spacing, borders, and backgrounds
  • Interactive objects for dynamic displays
  • Supplemental publishing objects, including bidirectional Unicode scripts
  • Using XSLT with XSL-FO

Includes powerful quick reference tables for XSL-FO expressions, objects, and properties

Part of The Charles F. Goldfarb Definitive XML Series™

Read More Show Less

Product Details

Meet the Author

G. KEN HOLMAN is Chief Technology Officer for Crane Softwrights Ltd. and Canadian chair of the ISO SGML standards group. Ken is an invited expert to the W3C®, a member of the W3C Working Group that developed XML, and founder of the OASIS Technical Committees for XML and XSLT conformance. His many books on XML technologies include Definitive XSLT and XPath.

About the Series Editor

CHARLES F. GOLDFARB is the father of XML technology. He invented SGML, the Standard Generalized Markup Language on which both XML and HTML are based. You can find him on the Web at www.xmlbooks.com.

Read More Show Less

Read an Excerpt

We often take the printed form of information for granted.

Yet how many of us are satisfied with the printing functionality of a web browser? How often have you found the paginated result of printing a lengthy web document as easy to navigate as the electronic original?

Navigating a paginated document is very different from navigating a web page, and browser-based navigation mechanisms, understandably, will not work on printed output. How would we follow a printed hyperlink when the visible clickable content hides the underlying hyperlink target address?

When we produce a paginated presentation of our

Layout and typesetting controls give us the power to express our information on pages in a visually pleasing and perhaps meaningful way using a set of familiar typesetting conventions. Vendors of printing and publishing software have offered proprietary solutions implementing their choices of controls and aspects of layout using their semantics for paginated production. We may have been reluctant to use these proprietary tools for fear of locking ourselves into a technology not supported, or not supported well, by any other application.

Layout standards

Many aspects of layout are, in fact, adopted in the Web community; they are applicable for electronic displays and described in Recommendations such as Cascading Style Sheets (CSS). This Recommendation defines presentation semantics in areas such as font, margin, and color properties. Paginating marked up information is also not something new. The Document Style Semantics and Specification Language (DSSSL), the international standard on which XSL-FO is based, was used originally with SGML documents and therefore works unchanged with

Accepting that HTML and CSS are suitable and sufficient for browser-oriented rendering of information, the W3C set out to define a collection of pagination semantics for print-oriented rendering. Along with paper results, these pagination semantics are equally suitable for an electronic display of fixed-size folios of information, e.g. in page-turner browsers or Portable Document Format (PDF) readers.

The Extensible Stylesheet Language (XSL), also known colloquially in our community as the Extensible Stylesheet Language Formatting Objects (XSL-FO), combines the heritage of CSS and DSSSL in a well-thoughtout and robust specification of formatting semantics for paginating information.

The Recommendation itself is a rigorous, lengthy, and involved technical specification of the processes and operations performed by a formatting engine to effect paginated results consistent with other formatting engines acting on the same inputs. Well-written for its intended purpose and useful as a reference, the document remains out of reach for many people who just want to write XSL-FO stylesheets and print their marked-up information.

About this book

Definitive XSL-FO is written for the beginning XSL-FO stylesheet writer, not the XSL-FO engine implementer.

Background and overview information sets the stage for the stylesheet writer to comprehend why this

It covers all the formatting objects of XSL-FO and summarizes their properties. This book assumes no prior knowledge of XSL-FO.

Simple things can be done simply in XSL-FO. The objective of this book is to help you get started producing high-quality layouts quickly. For esoteric requirements, the complete text of the XSL 1.0 Recommendation in all of its agonizing (but necessary) detail is required, so it is referenced section by section from the body of this book. Thus the reader with special requirements can delve into the nuance and finely-grained functionality not needed by most users.

Note that neither the Recommendation itself nor this book attempt to teach facets of typography and attractive or appropriate layout style, but only the formatting semantics, the implementation of those semantics, and the nuances of control available to the stylesheet writer and implemented by a stylesheet formatting tool. XSL-FO is a very powerful language with which we can possibly create very ugly or very beautiful pages from our

Typographical and navigation conventions

This book adopts a number of typographical conventions to assist in the navigation of the content.

  • Section references to the Recommendation are in italics and parentheses, e.g.: (6.10.2).
  • At times, Recommendation section references are paired with a page number from this book, e.g.: (7.18.1; 368).
  • Construct references are typeset as follows: Formatting objects and properties are in monospaced font (e.g.: basic-link, baseline-shift); Data types are in monospaced slanted font face (e.g.: angle); URL references are in monospaced font (e.g.: http://www.w3.org/TR/2001/REC-xsl-20011015/xslspec.html).
Read More Show Less

Table of Contents

Foreword.

Preface.

Acknowledgements.

1. Introducing XSL-FO.

2. XSL-FO in context.

The XML Family of Recommendations. Examples.

3. Basic Concepts.

Formatting and Rendering. Processing Model. Formatting Object XML Vocabulary.

4. Areas and Pages.

Area Model Details. Block and Inline Basics. Container Basics. Page Definition and Sequencing.

5. Generic Body Constructs.

Lists. Graphics and Foreign Objects. Links. Leaders.

6. Tables.

Tabular Structure. Tabular Appearance.

7. Static Content and Page Geometry Ssequencing.

Page Regions, Headers, and Footers. Content Definition 199. Page Sequence Master Interleave (PSMI). Page Geometry Sequencing.

8. Floats and Footnotes.

Floats. Footnotes.

9. Breaks, Borders, and Backgrounds.

Breaks. Widows and Orphans. Keeps. Spacing, Conditionality, and Precedence. Borders. Backgrounds.

10. Interactive Objects.

Reflecting Formatting Object State by Appearance. Interactively Changing the Effective Flow.

11. Supplemental Objects.

Specialty Formatting Objects. The Importance of Bidirectional Text. The Mechanics of Mixing Text of Different Writing Directions. The Bidirectional Support Challenge. The Bidi-Override Object. The Character Object. The Color-Profile Object. The Declarations Object.

Appendix A. Using XSLT with XSL-FO.

XSLT Language Features Supporting XSL-FO. XSL-FO Language Features Similar to XSLT and Xpath.

Appendix B. Expressions.

Production Summary. XSL-FO Functions.

Appendix C. Objects.

Objects Summarized by Name. Objects Summarized by Type.

Appendix D. Properties.

Common Properties. Data Types. Inheritance and Shorthands. Property Summary.

Appendix E. Choosing XSL-FO Products.

Index.

Read More Show Less

Preface

We often take the printed form of information for granted.

Yet how many of us are satisfied with the printing functionality of a web browser? How often have you found the paginated result of printing a lengthy web document as easy to navigate as the electronic original?

Navigating a paginated document is very different from navigating a web page, and browser-based navigation mechanisms, understandably, will not work on printed output. How would we follow a printed hyperlink when the visible clickable content hides the underlying hyperlink target address?

When we produce a paginated presentation of our XML information, we necessarily must offer to the consumers of our documents a set of navigation tools different from those available on our web pages. These navigational aids have been honed since bound books have been used: headers, footers, page numbers, and page number citations are some of the constructs we use to find our way around a collection of fixed-sized folios of information.

Layout and typesetting controls give us the power to express our information on pages in a visually pleasing and perhaps meaningful way using a set of familiar typesetting conventions. Vendors of printing and publishing software have offered proprietary solutions implementing their choices of controls and aspects of layout using their semantics for paginated production. We may have been reluctant to use these proprietary tools for fear of locking ourselves into a technology not supported, or not supported well, by any other application.

Layout standards

Many aspects of layout are, in fact, adopted in the Web community; they are applicable for electronic displays and described in Recommendations such as Cascading Style Sheets (CSS). This Recommendation defines presentation semantics in areas such as font, margin, and color properties. Paginating marked up information is also not something new. The Document Style Semantics and Specification Language (DSSSL), the international standard on which XSL-FO is based, was used originally with SGML documents and therefore works unchanged with XML documents.

Accepting that HTML and CSS are suitable and sufficient for browser-oriented rendering of information, the W3C set out to define a collection of pagination semantics for print-oriented rendering. Along with paper results, these pagination semantics are equally suitable for an electronic display of fixed-size folios of information, e.g. in page-turner browsers or Portable Document Format (PDF) readers.

The Extensible Stylesheet Language (XSL), also known colloquially in our community as the Extensible Stylesheet Language Formatting Objects (XSL-FO), combines the heritage of CSS and DSSSL in a well-thoughtout and robust specification of formatting semantics for paginating information.

The Recommendation itself is a rigorous, lengthy, and involved technical specification of the processes and operations performed by a formatting engine to effect paginated results consistent with other formatting engines acting on the same inputs. Well-written for its intended purpose and useful as a reference, the document remains out of reach for many people who just want to write XSL-FO stylesheets and print their marked-up information.

About this book

Definitive XSL-FO is written for the beginning XSL-FO stylesheet writer, not the XSL-FO engine implementer.

Background and overview information sets the stage for the stylesheet writer to comprehend why this XML vocabulary exists. Important terminology is explained and the names of key concepts are highlighted. The components of the vocabulary are grouped in discussions focused on functional areas. Examples illustrate each of the formatting objects.

It covers all the formatting objects of XSL-FO and summarizes their properties. This book assumes no prior knowledge of XSL-FO.

Simple things can be done simply in XSL-FO. The objective of this book is to help you get started producing high-quality layouts quickly. For esoteric requirements, the complete text of the XSL 1.0 Recommendation in all of its agonizing (but necessary) detail is required, so it is referenced section by section from the body of this book. Thus the reader with special requirements can delve into the nuance and finely-grained functionality not needed by most users.

Note that neither the Recommendation itself nor this book attempt to teach facets of typography and attractive or appropriate layout style, but only the formatting semantics, the implementation of those semantics, and the nuances of control available to the stylesheet writer and implemented by a stylesheet formatting tool. XSL-FO is a very powerful language with which we can possibly create very ugly or very beautiful pages from our XML-based information.

Typographical and navigation conventions

This book adopts a number of typographical conventions to assist in the navigation of the content.

  • Section references to the Recommendation are in italics and parentheses, e.g.: (6.10.2).
  • At times, Recommendation section references are paired with a page number from this book, e.g.: (7.18.1; 368).
  • Construct references are typeset as follows: Formatting objects and properties are in monospaced font (e.g.: basic-link, baseline-shift); Data types are in monospaced slanted font face (e.g.: angle ); URL references are in monospaced font (e.g.: http://www.w3.org/TR/2001/REC-xsl-20011015/xslspec.html).
Read More Show Less

Customer Reviews

Average Rating 4
( 1 )
Rating Distribution

5 Star

(0)

4 Star

(1)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted May 18, 2003

    Harder than HTML

    You have undoubtedly heard much of XML, but that deals with the storage and transmission of data, and not with its presentation in a human readable form. And you have dealt with HTML. But that is strictly for Web pages, and deals best only with the presentation of data. While for the printed page, you may have worked with TeX or Postscript/PDF. But is there a way to go from data in XML to its display on the web or on a page? And is this possible using a consistent syntax for both cases? More ambitiously, can we handle any human language, where the order of reading a page will vary? At the broadest level, this is where XSL-FO fits in. It is an intermediary language that does this translation. This book, by an expert in the field, actually emphasises the many variants of a printed page that cause a lot of the language's complexity. Not too surprising. Printing incorporates conventions accrued over the centuries, from many different cultures. Devising a language rich enough to merge all of the possible variations is not simple. (A bottoms-up problem, if you will.) Plus, printing onto pages is much trickier than printed onto a browser. In the latter, you can have an infinitely long page, and you can hyperlink to anywhere. Real pages have finite length, and hence you get grubby little details like widows and orphans and footnotes that have to be handled carefully. So be warned. The subject is far harder than HTML. This book is well suited for someone who has some prior experience in printed typography. Experience with TeX, troff or some of the Adobe page layout packages will be highly useful. It is all a little ironic. XSL-FO is a computer language. But if we all read solely from computer displays, then much of the rationale for it would vanish. However, that day is the day of the paperless office. And until we gain those sunlit uplands, there is a need for XSL-FO and for an authoritative book to describe it, like this one.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)