Stylesheet Results

The XSLT processor generates these results:

<html>
<body>
<h1>
  Hello, World!
</h1>
</body>
</html>

When rendered in a browser, our output document looks like Figure 2-1.

HTML version of our Hello World file
Figure 2-1. HTML version of our Hello World file

Congratulations! You’ve now used XSLT to transform an XML document.

Get XSLT, 2nd Edition 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.