Chapter 2. The Obligatory Hello World Example

In future chapters, we’ll spend much time talking about XSLT, XPath, and various advanced functions used to transform XML documents. First, though, we’ll go through a short example to illustrate how stylesheets work.

Goals of This Chapter

By the end of this chapter, you should know:

  • How to create a basic stylesheet

  • How to use a stylesheet to transform an XML document

  • How a stylesheet processor uses a stylesheet to transform an XML document

  • The structure of an XSLT stylesheet

Get XSLT 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.