XML, CSS, and Web Browsers
Instead of teaching you CSS, I am going to show you how to use CSS with XML code.
|
Unfortunately, as you will see, trying to display XML sensibly (with some kind of useful layout) is a pretty hit-and-miss affair; you will probably end up spending a lot of time modifying code, loading it, and modifying it again, until you either achieve what you want or, more likely, you give up trying. Don't give up hope-there are some cheats you can adopt that will allow you to use the browsers' built-in HTML interpretations, and later in this chapter I will show you how to use these. Sadly, just as the "proper" ways of displaying XML differ, so do the "illegal" ones!