Product Details
XSLT Programmer's Reference 2nd Edition

XSLT Programmer's Reference 2nd Edition
By Michael H. Kay

Price:

This item is not available for purchase from this store.
Click here to go to Amazon to see other purchasing options.


29 new or used available from $1.04

Average customer review:

Product Description

This compact, relevant, updated version reflects recent changes in the XSLT specification and developments in XSLT parsers. The material on tools and implementations has been revised; so too have all the examples. It also includes a new chapter on writing extension functions.

XML has firmly established itself as the universal standard for managing data for the web and is now being implemented on a wide scale.

XSL (eXtensible Stylesheet Language), a vital companion to XML, is used for two main purposes: to format or style XML data so that it can be displayed in a browser and to transform XML data (XSLT). When you transform an XML document, you manipulate the data into a new structure, for example, re-ordering the data. This enables the same data store to be used in an unlimited number of ways. XSLT is a flexible, customizable, and cross-platform language.

XSLT is a notoriously difficult language to understand, but this book, while being a complete reference to the recommendation, will also give code examples showing how it all ties together and can be effectively employed in a real-world development scenario.


Product Details

  • Amazon Sales Rank: #929191 in Books
  • Published on: 2001-04
  • Original language: English
  • Number of items: 1
  • Binding: Paperback
  • 800 pages

Editorial Reviews

Amazon.com Review
Written by a true expert in the field, Michael Kay's XSLT, Second Edition is a thorough and truly informative guide to using XSLT and XML for real projects. With plenty of in-depth information on current standards and tools, this tutorial and reference is all any working developer needs to implement XSLT-based applications effectively.

The book is remarkable in its wide-ranging perspective on XML and XSLT, plus it contains a complete reference to all elements and keywords used in XSLT and XPath. The author has created his own open-source implementation of XSLT and thus writes knowledgeably about all current XML standards. Early sections explain the larger strategies of using XSLT to transform XML data for browsers or for B2B systems. Clear diagrams--and short sample documents--are used to explain where XSLT fits into the big picture of today's XML-based systems. The book has plenty to say about new and emerging standards, so you can plan effectively for what's on the horizon.

The core of the book is its 400-page alphabetical reference on every XSL element, expression, and function (including XPath for querying and specifying XML data). Each entry is amply illustrated with example code and hints for using each feature correctly. You also get plenty of rules for using common XSL features effectively, along with sample usage.

Later sections of the book look at "design patterns" for types of XSLT style sheets, including simple fill-in-the-blanks and more advanced rule-based and computation style sheets. There are also digestible examples of XSLT used to format a long text document (for the XML standard itself), genealogy data (for a family tree), and a chess problem. Several appendices provide information on several popular XML and XSLT tools, including Microsoft MSXML3, the author's own Saxon XSLT processor, and Apache's Xalan tool.

With its mix of practical advice and solid reference matter, this book is a perfect choice for any developer working with XML and XSLT who needs a reliable guide to these important and groundbreaking technologies. --Richard Dragan

Topics covered:

  • Introduction and reference to XSLT standards
  • Basics of transforming XML with XSLT, XPath, XPointer, and related XML standards
  • The XML tree model
  • Transforming XML (including push and pull processing)
  • XSLT variables, expressions, and datatypes
  • The structure of style sheets (including top-level elements and template bodies)
  • Comprehensive reference to all XSLT elements, expressions, patterns, and functions
  • Creating extension functions for XSLT in Java and JavaScript
  • Style sheet design patterns (fill-in-the-blanks, navigational, rule-based, and computational style sheets)
  • Sample XSLT code for formatting a large document (with the XML specification)
  • A family tree (with genealogical data) and chess data (the Knight's tour problem)
  • Appendices and references for XSLT/XML tools (including Microsoft MSXML3, Oracle Java XSLT processor, the Saxon processor, and Apache Xalan)

From the Publisher
This book has been selected by the editors of Wrox Press to be part of the Wroxbase website.

This book is for programmers already using XML to organize their data in applications and for those who want to use the power and compatibility of XSLT to improve the display of their data. The book is in three parts: a detailed introduction to the concepts of the language, a reference section giving comprehensive specifications and working examples of every feature, and an exploitation guide giving advice and case studies for the advanced user.

From the Back Cover
Who is this book for?

This book is for programmers who want to learn how to use the XSLT language for developing web applications. The book is in four parts: a detailed introduction to the concepts of the language, a reference section giving comprehensive specifications and working examples of every feature, a development guide giving design advice and case studies for the advanced user, and a product reference detailing the features and usage of the latest versions of Microsoft MSXML, Apache Xalan, Oracle XML, open source Saxon, the TRAX API and other processors and tools.

What does this book cover?

  • Explains the rationale behind XSLT: what is it for?
  • Describes the XSLT processing model
  • Explores design patterns and stylesheet structure
  • Provides a full reference to the XPath and XSLT languages
  • Demonstrates the use of XSLT with worked examples
  • Describes currently available XSLT processors – updated to reflect recent advances in XSLT parser technology
  • Includes coverage of proposed specification enhancements

As an experienced developer, you need to get the facts on a new technology fast. Without the marketing hype, without the trivial introduction. That’s what Wrox Programmer’s References deliver. Hard facts on the newest technologies with practical examples of how to apply new tools to your development projects today.


Customer Reviews

IMPORTANT: Things to keep in mind before buying this book5
1. This is really a reference, not a tutorial. It does include a "no nonsense tutorial" which will guide you through the basic XSLT topics, but if you have no XML experience, start with one of the more basic Wrox offerings. (David Hunter's Beginning XML -- which I hear will be excellent -- is going to be released by Wrox early in June.)

2. If you are unclear on the purposes of XSLT, understand that it is a programming language for converting data, performing scripting tasks, etc. on the way to a pure HTML or XML layout. I only mention this because some developers seem to be operating under the mistaken belief that XSLT is an appropriate subject for graphic designers, perhaps because XSLT contains the word "style." Do NOT get this book for your design staff.

3. Not a major hurdle for most of us, but some implementations, such as Xalan, are not covered.

That aside, this is a fantastic book. Everything I can think of in the XSL arena is covered, including extending XSL. The author, Michael Kay, who was such a force on the Professional XML team, once again proves to be an excellent writer. The browser specific details are just what I needed to solve many of my real-world production problems. And I continue to be amazed at the speed with which Wrox gets these comprehensive volumes to press.

The Best!...with a capital "B"5
The well-balanced blend of highly technical details, precise and carefully crafted examples are made very agreeable by Michael Kay's outstanding writing style. No fluff, nor arcane technical hocus-pocus that leaves the reader dazzed and kerflumoxed. Althought this book is not a tutorial, I found it highly motivating for self-teaching.

The first 3 chapters explains a) what is XSLT b)how it works c)what makes it works (structure). It guides you clearly, in detail, trouhgt this crucial first example ("Greetings") so you're not stuck wondering HOW to make this stuff work. Explanations are to the point, and crucial relationships are put in context without verbosis.

Chapters 4 to 7 is the Reference section, the nitty-gritty details of each feature of XSLT. That'll help a lot when trying to fly on your own. This is followed by "Worked Examples" again beautifully explained.

Then, the tools. Not a mere URL reference to "Download this and you'll do just fine, mate!" but a hands-on guide to the nuts and bolts of each of them. Very helpful!

I read 7 books so far on XML/XSL. Kay's book is the gem that stands out way above from the crowd. A winner!

Outstanding5
This is a truly outstanding book. Of the very many computer books I have read, this is one of the top 5.

As other reviews have correctly stated, this is neither a tutorial nor an introductory text. But if you have been working with XML/XSL for even a little while, the dearth of complete and accurate documentation becomes onerous. I have spent untold hours experimenting with variations of syntax to get the desired results, never really understanding what I was doing. After reading this book, so many of the mysteries and black magic incantations I had built developed now become clear.

This is a deeply detailed reference book, and it is very much written from the perspective of an author of an XSLT parser. You get innumerable details about all sorts of arcana. But once you get beyond some very simple stylesheets, I have found that you often need this kind of detail to help you understand exactly what is going on.

The heavy slogging thru the material is greatly aided by Mr. Kay's refreshing writing style. He completely avoids the fluff, illiteracy, or arrogance so common in technical writing. His language is precise, yet easy to read. Most commendable are his examples. Rather than the trivial, artificial or non-sensical example we often see, each example here (and there are LOTS of them) is well-crafted, well-explained, and relevant to a real-world task.

Another astounding fact is the relative sparseness of typos and errors. As an author myself, I know that computer publishers rush to print with all sorts of egregious errors that are very disruptive. Although I did encounter a very few errors in this book, Mr. Kay and Wrox are to be commended highly for a very professional first edition.

A monumental writing job, excellently done. This belongs on the bookshelf of anyone who is seriously involved in XSL work.