Quiz
1. |
What is the significance of style sheets for HTML documents? |
2. |
What kinds of standard elements does XML include for describing the appearance of XML documents? |
3. |
What are the two major parts of XSL? |
4. |
In the Tall Tales trivia example, how did the |
Quiz Answers
1. |
A style sheet addresses the presentation needs of HTML documents by defining layout and formatting rules that tell a browser how to display the different parts of a document. |
2. |
XML doesn't include any kind of standard elements for describing the appearance of XML documents, which is why style sheets are so important for displaying XML documents. |
3. |
The two major parts of XSL are XSLT (XSL Transformation) and XSL-FO (XSL Formatting Objects). XSLT allows you to translate XML documents into other languages, but it doesn't tackle the same layout and formatting issues as CSS. XSL-FO addresses the layout and formatting of XML documents, and is considered a superset of CSS. |
4. |
The |
Exercises
1. |
Modify the |
2. |
Try to match the changes you just made to the |