Converting XML to HTML Using a Style Sheet

In the same way that cascading style sheets are commonly used to transform HTML documents, Extensible Stylesheet Language Transformations (XSLT) transforms XML documents. It can transform XML documents from one document format to another, into other XML dialects, or into completely different file formats such as PostScript, RTF, and TeX.

The best part about XSLT is that it's XML. An XSLT document is a regular XML document. “How can that be?” you may ask. “Wouldn't you have issues with circular references?” No—XSLT is just another XML dialect. Modern XML parsers are intelligent enough to know how to use the instructions encoded in an XSLT document (which are just ordinary XML tags and attributes and the ...

Get Guru's Guide to SQL Server Architecture and Internals, The 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.