
Why Styling?
XML concentrates on the structure of the information and not its appear-
ance. However, to view XML documents we need to format or style them.
Obviously, the styling instructions are directly related to and derived from
the structure of the document.
In practice, styling instructions are organized in style sheets; to view a doc-
ument, apply the appropriate style sheet to it.
The W3C has published two recommendations for style sheets: CSS, short
for Cascading Style Sheet, and XSL, short for XML Stylesheet Language.
CSS
CSS was originally developed for HTML and browsers that support XML
also largely support it. A CSS is a set of rules that ...