Sams Teach Yourself XML in 21 Days
-
Table of Contents
- About the Author
- Acknowledgments
- We Want to Hear from You!
- Introduction
- Part I: At a Glance
- Day 1. Welcome to XML
- Day 2. Creating XML Documents
- Day 3. Creating Well-Formed XML Documents
- Day 4. Creating Valid XML Documents: DTDs
- Declaring Attributes in DTDs
- Day 6. Creating Valid XML Documents: XML Schemas
- Day 7. Creating Types in XML Schemas
- Part I. In Review
- Day 8. Formatting XML by Using Cascading Style Sheets
- Day 9. Formatting XML by Using XSLT
- Day 10. Working with XSL Formatting Objects
- Part II. In Review
- Part III: At a Glance
- Day 11. Extending HTML with XHTML
- Day 12. Putting XHTML to Work
- Day 13. Creating Graphics and Multimedia: SVG and SMIL
- Day 14. Handling XLinks, XPointers, and XForms
- Part III. In Review
- Part IV: At a Glance
- Day 15. Using JavaScript and XML
- Day 16. Using Java and .NET: DOM
- Day 17. Using Java and .NET: SAX
- Day 18. Working with SOAP and RDF
- Part IV. In Review
- Part V: At a Glance
- Day 19. Handling XML Data Binding
- Day 20. Working with XML and Databases
- Day 21. Handling XML in .NET
- Part V. In Review
- Appendix A. Quiz Answers
Day 10. Working with XSL Formatting Objects
Yesterday you began using XSLT to extract and format the data in XML documents into other forms. Today, you're going to take a look at the rest of the XSL specification: XSL Formatting Objects (XSL-FO). XSL-FO, which is far more involved than XSLT, lets you format data down to the last little detail, such as what font size to use and what margin size.
Today you'll see how to use software to format the data in an XML document into an Adobe Portable Data Format (PDF) file, and you'll be responsible for the complete visual formatting of data. However, note that although XSL deserves a place in Part II, "Formatting XML Documents," of this book, XSL is not in as widespread use as XSLT, so you shouldn't feel that you have to master today's discussion in order to master XML.
Here's an overview of today's topics:
- Using the XSL formatting language
- Formatting objects
- Understanding the fo namespace
- Formatting properties
- Using Apache's Formatting Objects Processor (FOP)
- Doing page layout
- Using master pages
- Understanding page sequences
- Using block-level formatting
- Using inline formatting objects
- Using table-formatting objects
- Using rules
- Using graphics
- Using links
- Using lists
- Using tables
Introducing XSL-FO | Next Section