XSL Formatting Objects: Developer's Handbook

Overview

XSL Formatting Objects Developer's Handbook is a syntactical reference and a guide for developing practical solutions using the complete XSL toolkit. In exploring the available tools and architectures, the book allows programmers to understand and apply XSL as practitioners. XSL-FO is a complex specification that provides a framework for describing detailed document formatting characteristics. A primary goal of XML is to separate the data from presentation. Unlike HTML documents, XML documents contain no ...

See more details below
Other sellers (Paperback)
  • All (12) from $2.99   
  • New (6) from $34.23   
  • Used (6) from $2.99   
Sending request ...

Overview

XSL Formatting Objects Developer's Handbook is a syntactical reference and a guide for developing practical solutions using the complete XSL toolkit. In exploring the available tools and architectures, the book allows programmers to understand and apply XSL as practitioners. XSL-FO is a complex specification that provides a framework for describing detailed document formatting characteristics. A primary goal of XML is to separate the data from presentation. Unlike HTML documents, XML documents contain no information about how those documnets will appear when displayed. The XSL-FO specification provides a standardized way to build stylesheets that express document formatting in pure XML notation.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
Oh, the irony of it. You’ve finally got your data into XML…and now you need clean, attractive, typeset, printed output. Fortunately, there’s XSL-FO -- and XSL Formatting Objects Developer’s Handbook. Doug Lovell’s “get your hands dirty and learn on-the-fly” approach is ideal for folks with problems to solve, whether they have extensive XML/XSL experience or not.

Lovell begins with a case study showing why separating content from presentation makes so much sense: an aviation weather summary adapted for HTML web display, for WML display on wireless devices, and for typeset printing with XSL-FO. Before diving into XSL-FO coding, he quickly reviews the tools available to streamline the process (for example, the Antenna House XSL formatter, Apache’s FOP, and even Microsoft Word 2000 plus WH2FO, which generates XSL-FO directly from Word’s HTML output.

You’ll walk step-by-step through a simple XSL style sheet; then master each key element of XSL-FO: color, fonts, rules, blocks, inline-level content, page styling, tables, alignment, lists, leaders, footnotes, embedded diagrams, and more. There’s a full chapter on white space, one of the trickiest aspects of working with XSL (sometimes you want it, sometimes you don’t). There’s also easy-to-understand coverage of keeps (for keeping text together on lines, columns, or pages) and breaks (for forcing text apart). Finally, there’s a full chapter on global applications (XSL-FO can handle anything from Arabic to traditional Chinese, written top-to-bottom on the page).

If you want great-looking output from XML sources, read this book. Bill Camarda

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies®, Second Edition.

Read More Show Less

Product Details

  • ISBN-13: 9780672322815
  • Publisher: Sams
  • Publication date: 11/28/2002
  • Series: Developer's Library Series
  • Pages: 426
  • Sales rank: 1,071,204
  • Product dimensions: 7.32 (w) x 9.05 (h) x 0.94 (d)

Meet the Author

Doug Lovell taught himself the Basic programming language on a PDP-11 time-sharing terminal when he was a young, impressionable freshman in high school. He saved his programs on punched paper tape, which he rolled up, banded, and stored in tobacco tins supplied by his pipe-smoking mathematics teacher. After becoming a certified flight instructor in Ohio and then moving to New York City to earn a fine arts degree in photography, Doug joined the electronic prepress and digital typesetting facility at Time, Inc. He picked up typesetting and prepress knowledge by working for a few years making Time, Life, Fortune, People, and Sports Illustrated ready for the presses.

While working prepress, he partnered in building and operating a business selling graphics tablets for the Commodore Amiga computer; he also wrote a program for animated cartoon drawing, for which he procured his first patent. He left Time to become a resident computer whiz for an engineering firm and to attend graduate school for a degree in computer science.

Now Doug works as a software engineer for IBM Research. Typesetting got a grip on him again when he pulled duty to satisfy all the hard-copy requirements of the AutoLoan Exchange project. The project pioneered the process of applying for, approving, and closing automobile loans on the Internet. Doug applied the TeX typesetting language to typeset individualized loan contracts on demand. TeX was most popularly used to typeset mathematics, physics, chemistry, and computer science journals; this may have been the most commercial application of TeX ever undertaken.

Doug's most recent program is an implementation of XSL Formatting Objects written with Java. He also has written several tools for working with XML and XSLT, early versions of which appeared on IBM's alphaworks new technologies Web site, and invented TeXML¿an XML vocabulary for expressing TeX typesetting documents. He lives and breathes in the beautiful mid-Hudson Valley of New York, loves to hike the mountaintops, and flies aerobatics wherever he's allowed.

Read More Show Less

Table of Contents

1. Introduction.

Who Needs FO? What Do You Need to Know? Overview of the Book. Fine Print.

2. From Content to Presentation.

Aviation Weather Example. XML Encoded Weather. Some Common Templates. A Style Sheet to Produce HTML. A Style Sheet to Produce XSL FO. A Style Sheet to Produce WML. Summary.

3. Tools and Implementations.

Online Resources. Transform Engines. Formatters. Editors. Summary.

4. Hello XSL World.

A First XML/XSL Pair. A Style Sheet for the Root Rule. Summary.

5. Color, Fonts, and Rules.

A Bulletin. Skeletons in the Closet. Font Selection. Rules and Borders. The Colorful Truth. Summary.

6. Block and Inline.

Box Model. Screenplay Example. block and block-container. Inheritance and the Wrapper. inline and inline-container. Space, Margins, and Indents. Justification. text-transform. Summary.

7. White Space and Line Handling.

Ignoring Space and Newlines. Honoring Newlines. Honoring Spaces. Word Space. Line Wrapping Override. Leading. Subscripts and Superscripts. Paragraph Separation. Summary.

8. Page Styling.

Simple Page Model. Flow and Static Content. Sequences. Summary.

9. Tables and Alignments.

Tabular Alignment. Separate and Collapsed Borders. Explicit Rows. Table Column Definitions. Placing Headers and Footers on a Table. Column and Row Spanning. Content of a Cell. Captioning a Table. Summary.

10. Lists and Leaders.

Structure of a List. Bullets and Checklists. Enumerated List. Descriptive List. Lead Me On. Summary.

11. Keeps, Breaks, and Columns.

A Sample Input Document. Columns. Play for Keeps or Break It Up. Summary.

12. Embedding Diagrams and Images.

Embedding an External Resource. Embedding a Diagram. Placement and Alignment. Character. Background Effects. Summary.

13. Footnotes and Floats.

An Epistle with Footnotes and Floats. Footnotes. Before Floats. Side Floats. Summary.

14. Dynamic Effects.

Scrolling. Hyperlink. Altered States. Toggle Switch. Summary.

15. Going Global.

Writing Direction. Mixing Scripts. Summary.

Appendix A. Basics of the XSL Transform.

The Processing Model. Reorganizing the Input. Processing Text. Processing Attributes. Summary.

Appendix B. A Concise Listing of Formatting Objects.

Formatting Object Categories. Formatting Objects.

Appendix C. A Concise Listing of Properties.

Property Categories. Property Types. Properties.

Index.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

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

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