Editorial Reviews:
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.
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)
Customer Reviews:
Displaying 1 to 5 of 82 total reviews (Page 1 of 17):
Almost unusable
This book, as the other reviewers have said, is an awful beginning or reference text for XSLT.
I have to whip up an XSL transform only a few times a year, so I never remember exactly how the syntax works. This book is never any help. The introductory sections are not informative, and the reference sections are not well-organized and have no helpful examples.
He likes to spend a lot of time explaining in various places that "technically, this blah blah blah is a valid construct, but no one will ever use it." Who cares? The book is supposed to help others get their jobs done.
Still, I have been able to finish my assignments using this book, so I can't give it 1 star. 2 stars is generous, though, for how angry this book consistently makes me. Wealth of information obscured by the editing, writing, and organization
This review is for "XSLT: Programmer's Reference 2nd Edition." The book covers XSLT 1.0 and XPath 1.0. Although these are "old" technologies, they are still heavily used in software in many industries. While there are newer books covering XSLT 2.0 and XPath 2.0, those technologies have not achieved widespread support, so you will want to rely on this book for the next few years.
Michael Kay is one of the leading authorities on XSLT, XML, and XPath, and it clearly shows in the content of this book. There is a lot of detail to his explanations, and the topics he covers are comprehensive, including little-discussed items that other books fail to cover. There is a wealth of information in this book. Mind you, this is a reference book, and it's not conducive to being read front-to-back. You do need some knowledge of the subject to be able to find what you need.
Unfortunately, the organization, editing, writing is not as good as the technical information itself. The writing style is similar to writing found in a technical paper, so it is somewhat hard reading. At times, the author repeats himself over several paragraphs as if he didn't know he already stated the information previously. The page headings don't have chapter designations, so when the author refers to a chapter (without a page number), you can't find the chapter without going back to the table of contents and finding the page number. The index is also a little disorganized as some keywords aren't always where one might think. Overall, it looked like there was so much information that the editors could not figure out how to organize it effectively.
Despite these serious flaws in organization, editing, and writing, the coverage of the subject matter is the most comprehensive I have found thus far. I've spent money to buy other books, including O'Reilly ones, and I still refer to this book, even though I know this book is not the best read. That is why I have to give it 4 stars rather than 3 stars; the information is too good to pass up. Indispensable for XSLT Developers
I just finished up about 3 years on a job where one of my primary functions was editing, troubleshooting, teaching, and writing XSLT. I started that job as an experienced programmer with little XSLT experience, and I found this book relatively easy to navigate. I referred to this book constantly. It was indispensable as a reference for XPath and XSLT functions. Whenever I thought "How do I build the code to grab this XML?" or "What's the name of that function?" I would crack open this book and put together the pieces.
Note that there is a new XSLT reference out by Michael Kay-- that may be preferable if you are interested in XSLT 2.0. Look Elsewhere for XSLT Book
This is the worst technical book I've ever used. There is no organization to it, and there is redundant information, especially in the elements listing section. There are areas that are extremely verbose and make little sense while other areas could use simple, less wordy explanation follwed by an example. This book makes a good paper weight, that's about it. Very tough and unordered reading
It is a pity but I have to write I am not satisfied with the book. It is kind of a book which does not concetrate on the main purpose of a reading - "to learn something". Of course I understand - it is programmer's reference but even so there is a lot of introductory parts which could be done much better.
There are parts that are very very talkative and give nowadays "vain" information and on the other hand there are parts which should be absolutely more narrative. The book reminds me a kind of "scientific" or "academic" book. From this point of view it is quite good. It is for people who have time to read it in their labs. It is the book for a long time. You absolutely learn a lot of useful topics but you have to find your own way of reading. More Customer Reviews: Next Page
|