Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this tutorial, you'll learn how to create an XSLT fragment that formats news headlines from the National Exasperator. The headlines are contained in an XML file. You'll add the XSLT fragment to a dynamic page on the same site you've been working on in tutorials throughout this book. To get started, you need to grab the dynamic site files from www.sawmac.com/dw8/tutorials , and you'll have to have set up a Web server and application server as described in Chapter 20. However, you don't need to have finished any of the tutorials for Chapters 21, 22, or 23 to complete this tutorial.
Start by creating a new XSLT fragment: