Stylesheets

With the release of XML in 1998, the benefits of the generalized markup concept was brought to the attention of a wide audience. When used correctly, XML tags identify each portion of a document; allowing these fragments to be located, extracted, analyzed and reused. However, the one weakness of this approach is that a document tagged using XML is not ready to be presented. The tags do not specify the format to be applied to the text they contain. The following example clearly identifies the title, author and publisher of a book, but does not indicate how these items are to be presented:

<book>
  <title>My Life</title>
  <author>J. Smith</author>
  <publisher>ACME Publishing</publisher>
  ...
</book>

Formatting information therefore needs ...

Get XSL companion, 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.