Style Sheet Basics

To understand XSL and CSS, you first have to understand the basic premise behind style sheets. Obviously, the Web had style well before style sheets entered the picture, so what's the big deal?

The big deal is that the Web community in general, and the XML community in particular, have finally realized that merging content markup with presentation layout styles can be costly in terms of maintenance, flexibility, and complexity. HTML is the glaring example of what happens when you randomly combine content and presentation in a single markup language.

HTML Is a Very Bad Presentation Language

In reality, HTML was never designed to be a presentation language. In fact, markup languages in general are inherently designed to describe ...

Get XML Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.