XSL and XSLT

We introduced the idea of style sheets in Chapter 8, when we looked at Cascading Style Sheets (CSS). Like CSS, the Extensible Stylesheet Language (XSL) is a language for defining and expressing style sheets. In fact, whereas CSS is often considered the style sheet of HTML (although, as we've seen, CSS works fine with SVG, a subset of XML), XSL is considered the style sheet of XML. However, that is a misleading comparison, because XSL is much more than a style sheet language.

XSL is actually a collection of three W3C specifications. The three specifications are:

  • XSLT— A language that transforms, or processes, XML documents. It can transform XML documents into HTML, XHTML, or most XML specifications (including SVG).

  • XPath— A language ...

Get SVG for Web Developers 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.