Exercises
- 1. Pick a simple XML document of your own. Make sure it is simple; it's very easy to underestimate the amount of time you'll waste in experimenting. Create a style sheet for displaying it in IE5.
- 2. Now take the same document and create a style sheet for displaying the file in Mozilla.
- 3. Look again at your XML document and think about whether it could more easily have been coded in a semantic HTML (using attributes to identify elements). Limiting yourself to just the display aspects, which would have been easier to work with, the XML code or the HTML code? What effect would your choice have on the portability of your code?