How This Book Is Organized
XSLT 2.0 has added significant new features to the language, many of which are related to the changes in XPath 2.0. The biggest challenge I had as an author was figuring out how to organize the book. One approach would have been to make this an XSLT 2.0 book, writing under the assumption that everyone would migrate to XSLT 2.0 as soon as possible. I don’t believe that will happen, so I didn’t go that way. Instead, I tried to cover everything in terms of common tasks, things you’ll probably have to do with XSLT. If there are new features in XSLT 2.0 that apply to those tasks, I mention them after explaining the concepts behind the stylesheets. Usually XSLT 2.0 makes your life much easier, so I begin the discussion by pointing out that if you’re using XSLT 2.0, you’ve got a simpler option.
As with the first edition, this book has two parts: a series of prose chapters that cover concepts and tasks, followed by a series of appendixes that form a reference to all of the elements, functions, operators, and other details you’ll need as you write stylesheets. Once you’re comfortable with XSLT, you can use the appendixes as a dictionary of all things related to XSLT and XPath.
The book contains the following chapters:
- Chapter 1, Getting Started
Covers the basics of XML and discusses how to install the stylesheet engines used in this book.
- Chapter 2, The Obligatory Hello World Example
Takes a look at an XML-tagged “Hello World” document, then examines stylesheets that ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access