Viewing Documents

Although the focus tends to be on writing and validating XML documents, in the end the information in a document must be presented to a user. Although some Web browsers can display XML documents directly, most users would prefer not to have to interpret the raw XML source code. The mechanisms for making XML presentable to end users are generically called stylesheets.

One of the first (and most widely supported) stylesheet languages is Cascading Style Sheets (CSS). CSS was originally intended for use with HTML documents to allow authors to separate presentation information from the structural details of the HTML page. When XML began to be widely used, CSS was extended to support formatting and displaying XML documents. IE 5.0 ...

Get Strategic XML 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.