Cascading Style Sheets (CSS)
The W3C has produced two Cascading Style Sheet Recommendations usually referred to as CSS1 and CSS2. Full details of those recommendations can be accessed at:
http://www.w3.org/TR/1999/REC-CSS1-19990111
http://www.w3.org/TR/1998/REC-CSS2-19980512
Note
The URL given for CSS1 is correct. It was first issued in December 1996 and was revised in January 1999. The URL for the updated version, CSS2, appears before this note.
In addition to the two CSS Recommendations from W3C, work is currently underway on CSS3.
Applying CSS to XML
Cascading Style Sheets allow you to add some formatting to an XML file.
The original XML file from Chapter 10 looked like this:
<?xml version="1.0"?> <message> <to>All visitors</to> <greeting>Hello ...
Get Platinum Edition Using XHTML™, XML, and Java™ 2 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.