XML and Style Sheets

Unlike HTML, XML does not contain a predefined display format for any of its elements. Instead, it uses a style sheet. Therefore, XML requires a separate style sheet file to contain the descriptions of how the data will eventually look. This separation of the XML content from the presentation documents allows the content to be easily displayed in multiple formats. Think of XML and XSL as two separate applications, a word processor and a desktop publisher. Usually a writer produces the data via a word processor, but it is the editor who sets up the layout of the text with all the nice pictures and cute typefaces. Also, the editor has the luxury of taking information from several writers, photographers, artists, cartoonists, ...

Get Writing Stored Procedures for Microsoft SQL Server 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.