| The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice. Quiz | 1. | How does XSL-FO relate to CSS? | | 2. | What are the XSL-FO equivalents of the <div> and <span> tags in HTML? | | 3. | How do you validate an XSL-FO document? | Quiz Answers | 1. | XSL-FO is a functional superset of CSS but an entirely separate technology. Unlike CSS, XSL-FO is used to code entire documents including both content and formatting, whereas CSS is designed purely for applying formatting styles to existing documents. Also unlike CSS, XSL-FO is an XML-based language, whereas CSS relies on its own unique syntax. | | 2. | The XSL-FO equivalents of the <div> and <span> tags in HTML are <fo:block> and <fo:inline>, respectively. | | 3. | To validate an XSL-FO document, you currently must reference the RenderX experimental XSL-FO DTD in the document, and then pass the document through the standard W3C Markup Validation Service (http://validator.w3.org/). | Exercises | 1. | Develop an XSLT stylesheet to transform an existing XML document into an XSL-FO document. | | 2. | Feed the newly generated XSL-FO document into FOP to generate a PDF of the resulting formatted XSL-FO document. | |