XSLT 2.0 Programmer's Reference (Programmer to Programmer) Reviews



Amazon.com Customer Reviews

For sale: One boat anchor. - Review written on December 13, 2006
* *
Rating: 2 out of 5
1 customer found this review helpful, 4 did not.

Agree with others that it is not a good introduction book. Dense, long-winded, I kept waiting for information I could use without needing to read 4 other chapters.

As an added bonus, I'll throw in the XPath book as well. For those of you who have two boats.
Stick to the older release - Review written on November 22, 2006
* * *
Rating: 3 out of 5
4 customers found this review helpful, 3 did not.

I've bought the XSLT Programmer's Reference from the same author and it's a terrific book, so when XSLT 2.0 came out, I immediately bought it ... only to be highly disapponted. The previous edition (or the original book if you like) covered everything you need to know (or ever wanted to know) to become an XSLT 1.0 guru. This one contains half of it, the other half is in another book (XPATH 2.0).

While I understand that XSLT 2.0 has expanded so much that XSLT+XPATH don't fit into a single book (plus it generates more revenue for the author and the publisher), buying this book at the current point in time (where there is very limited support for XSLT 2.0) is a questionable choice. You're much better off buying the older version, which covers (the whole span of) technology used in actual products.
Excellent, Comprehenive and Praxis Oriented - Review written on September 30, 2006
* * * * *
Rating: 5 out of 5
4 customers found this review helpful.

I had to do something with XSLT. I never did really anything with XSLT before, but are very familiar with XML and programming in general.

I got from a friend the prior edition (XSLT 2nd Ed.) to this one (XSLT 2.0) and was impressed about the deep knowledge, especially the practical one and loved the comparison to actual source code in other programming languages in cases where XSLT and its philosophy differs dramatically from classic programming languages.

I found the answers to all my (tricky) issues, except to one where I got enough information to figure it out myself though. I struggled and still do when it comes to html tags usage as value in XSLT Functions. Be it "translate" , "regex" or "substring-after" etc. I still did not get my translate of white spaces (line break) to html line-breaks ( br - tag ) working 100%. May be the updated Edition answers this only thing that was not 100% perfect covered (for me) in the previous edition.

The book "stole" an hour from me to read the interesting chapters about the programming language philosophy behind XSLT, the "functional programming" rather than "structured programming". I saw a lot of other chapters providing a well researched history of computer programming before the Internet until now.

The Book is big and it is not one of those big books that are artificially inflated by adding screen shots of intuitive and straight forward pages that do not require any explanation. No, not in this case. You get over 700 pages (2nd Ed) and over 900 pages (this edition) full of great stuff that would still make a good book, even if you remove every part about XSLT from it.

I came to buy the 2nd Edition today and saw the XSLT 2.0 (3rd Edition) which I obviously bought instead. I am looking forward to get the updated and obviously greatly extended version within the next few days. You get a lot of knowledge and experience for what the books price is (I am amazed how cheap it, Wrox, I think I got the better end of the bargain in case of this book ;) )

The mentioned resources in the book are also great. I added several of them next to Michael Kay's books to the Web Development Resources Section of my personal (but public) Internet Marketing and Web Development portal at [...].
I hated this book - Review written on September 24, 2006
* *
Rating: 2 out of 5
4 customers found this review helpful, 2 did not.

The author spends the first 176 pages giving an overview of XSLT using terms that he hasn't defined yet! I like the analytical approach, I like overviews before I dive into the details, but, for goodness' sake, defining how the engine transforms a document in terms of xslt operations and functions that aren't even discussed yet is just a really weird way of explaining something.

Then, in chapter 5, the 320 page chapter where he covers the xslt elements in alphabetical order, he gives you a nice little table on pp 175-6 that groups the elements together logically by function, but he doesn't even bother to give you the page numbers, so you can't use the table to drive your reading unless you go through the index and manually copy each page number.

Almost everything in the book seems to explain something in terms of something else that isn't explained yet, and that isn't even easy--or possible--to find, so you spend the whole book (900+ pages) juggling stuff in the air, hoping you keep everything straight until you finally get enough information to actually understand something well enough to use it.

As an example, as someone who just wants to do a few things with XSLT since I am not and never will aspire to be an XSLT developer--I just need to use a little of it for my current project--one of the most important elements for me to learn is the for-each select="x". Well, guess what? The x turns out to be an XPath expression, and since both XSLT and XPath are now so big, I have to buy another 500+ book on XPath in order to understand the for-each. You may say, that that's the way it is, and I just just suck it up and do it (which I am), but a better author could have made the information a little easier to master.

In conclusion, I am not suggesting that Kay doesn't know what he's talking about, or even that XSLT developers won't like this book. I am saying that, for the rest of us who just want to do a few things and then get on with our lives, this is not the book to buy. I can't imagine a worse book for anyone who just wants to learn enough XSLT to get by. And even for those who do want to learn it all, this is still a really weird book.
Its a reference. Not a tutorial. - Review written on September 24, 2006
* * * *
Rating: 4 out of 5
2 customers found this review helpful.

I've read the reviews on here and the lower ratings really lost sight of what this book is about - its a programmers REFERENCE. Not a tutorial hand holding guide. It is meant to give details on why XSLT is what it is in detail. It is not meant to teach you through step by step examples.

That said, on this basis, the book gets four stars. To be given the opportunity to read through the words of a W3C member who was directly involved in the XSLT 2.0 specification is a gift. How many times do you get the chance to read technical works directly from the source in this amount of detail? Realize Mr. Kay also has done something few people have - created an XSLT processor. So you are getting more information than what you will probably ever need but all packed into one large reference. More so, its one individual, not a group of people where thoughts and theories are disconnected.

This book is not an easy read. If you are looking to get up and running creating stylesheets forget it and be left disappointed. At times it is dry and boring and has too much information to get lost in. Because it is a programmer's reference I really didn't want to know everything, just the 80% of things that really matter. And that's what a programmers reference should be - a well organized book that lets you find things quickly and has enough information in it to let you make decisions.

Unfortunately, there are few XSLT books that are worth reading. Yes, this book reads like a technical IMPLEMENTATION specifcation. Use this book when you want to know how things work and why it was designed that way.
Undoubtedly Comprehensive - Review written on July 26, 2006
* * * *
Rating: 4 out of 5
1 customer found this review helpful.

I can truly understand the frustrations that I am reading in the reviews. At first I found the book hard to read because this subject area was new to me. You have to get into an XML mindset to understand what you're reading in this book. There appears to be an assumption that you're familiar with the subject matter and have some level of knowledge in XML and general knowledge of HTML. This is definitley not a first book to read if you're getting started in XML. Someone in one of the reviews said that you should supplement this book with other books and I have to agree. If you're planning on becoming heavy duty in XML then this book will probalby end up on your bookshelf.

The book is a Programmer's Refrence and they aren't usually fun to read in the first place. For the most part I have to agree with everyone elses reviews. I will say the book becomes easier to read when you become more savy with XML.

This review is not to place judgement on this book but to instruct people on the order of learning this information. On the back cover of this book, there is diagram that shows the order of books to read. The first book is "Beginning XML". I haven't read this book but an intro book on XML is good to have.

I am rating this book as reference book for what it is.
Mixed opinions on this book. - Review written on February 20, 2006
* * * *
Rating: 4 out of 5
3 customers found this review helpful.

This is a difficult book to review. It contains invaluable information and, with a lot of work, I was able to learn what I needed to learn about XSLT. On the other hand, it could have been written so much better. You can't plan on using it as your only source of XSLT information. Supplement it with other books and online resources and you will do fine.
It better be on your shelf. - Review written on October 28, 2005
* * * * *
Rating: 5 out of 5
2 customers found this review helpful, 4 did not.

If XSLT is considered part of the job and I've got a hand in interviewing, I ask what books they have on their shelf. I don't care if they own a library - everyone has priorities and don't like to read everything. But when it comes to XSLT, this book had better be on their shelf or it raises some serious questions in my mind regarding their XSLT background. You either need it (I do) or you're so good you could write your own XSLT book (in which case, I can test you for that as I used to work in computer book publishing and had to do all of the "hard books").

In May, 1992, Windows 3.1 programming came into vogue and everyone wanted to know "What's the best book I can buy for Windows programming?" (on usenet, they show their ignorance by asking the question asked thirty times yesterday and don't look to see what was said). The answer was [almost] always, "Petzold, and any one of the following: ...". In the world of XSLT, it's "Michael Kay and any one of the following...". It's *that* important. (and that good) Before they made the digital available, I pondered keeping a copy at home and another at work. I ended up keeping the 2nd edition at work, 1st edition at home. Something was better than nothing [at home].

And as disclaimer, I have nothing to do with any of the resources which stand to gain from my saying all of this. If you can't afford this book, the holidays are coming. If you've got a birthday coming up before it, use that birthday wish by using a hint. Otherwise, take advantage of sitting on Santa's lap and make it plain & clear you'd be happy if you got this book and nothing else.
Great material, awful presentation - Review written on October 03, 2005
* * *
Rating: 3 out of 5
6 customers found this review helpful.

The author is one of the great xslt scholars, and this book is a brillant testimony to the breadth of his knowledge.

The author is a professional, Wrox is a professional publisher. Then how come the book is so utterly poorly organized? Any book bearing the subtitle "Programmer's Reference" should be organized in such a way that the programmer will rapidly find what she's looking for. Thats is certainly not the case here. An intelligent use of page headers and footers is the first thing a reference book should try to achieve. No such attempt here (try to imagine a dictionnary with no page headers...).

The same goes for the use of titles and subtitles, general chapter and page organisation, font choices etc. The whole thing is a typesetter's nightmare. I might be wrong, but one suspects the author was allowed to typeset the book himself...

Bottom line: it takes way too long to find what one's looking for. In a reference work such flaws are unacceptable.

I still enjoy the book's excellent coverage of the subject matter, but its use is bound with much bickering and swearing out lound.
Some of the poorest instructional writing I have ever seen... - Review written on September 15, 2005
*
Rating: 1 out of 5
7 customers found this review helpful, 2 did not.

I was extremely disappointed after trying to read this and several other of these WROX series on XML, XSLT, XPATH, etc.. I had made the mistake of buying the whole series and trying to wade through these exceptionally poorly edited books. While I'm sure that these writers know their subject...they truely do NOT have a clue as to how to write cohesive, instructional material. If you want to find much better writing on this subject, look for some zoo animals on the cover instead of photos of the authors. I really felt cheated having bought the whole series of these WROX books. This is the first time that I have felt this enraged about poor writing...
The Master - Review written on September 14, 2005
* * * * *
Rating: 5 out of 5
4 customers found this review helpful.

Michael Kay is to XSLT what Hank Williams is to Country, what Doc Watson is to Traditional, and what Eric Clapton is to rock guitar.

The reviewer below states:

> Horrible, horrible usability.

Huh? I have used the original version of this book from when I was an XSLT newbie until it is literally falling apart, and have always found it to be extremely usable. XSLT can be difficult to master - things that seem "logical" are completely wrong, but it is also the best way to interact with XML. Forget about procedural or even OOP languages when you have XML data to deal with. XSL transforms are the way to go, and Michael explains how to do everything here - except XPATH, but I'll probably order the package with his XPATH book, too.
Great Reference, Mediocre Introduction - Review written on June 09, 2005
* * * *
Rating: 4 out of 5
2 customers found this review helpful.

In looking at the other reviews, I have to wonder if some of these people even read the book.

There IS a reference section. Chapter 5 goes through a ton of XSLT elements in alphabetical order and lists what it does and how to use it. It ALSO lists the changes that were made to the element since XSLT 1.0. Chapter 7 does the same thing with the functions.

However, I'm in agreement that this isn't the best book for learning the language. The learning curve is steep. Very steep. However, if you get through it, you'll be ready for almost anything thrown at you (but also get the XPath 2.0 book, to make sure you're an expert).

In short, it's not perfect, but it's a great reference, which is exactly what it sets out to be.
Critically flawed, but brilliant - Review written on April 05, 2005
* *
Rating: 2 out of 5
5 customers found this review helpful, 1 did not.

I actually read most of the first edition of this book and upgraded to this book to stay current. It has two critical flaws:

1) It lacks any "New in 2.0" labels. Given the scope and mass of the book, having to reread the whole thing to find the deltas between versions 1 and 2 is criminal.

2) Horrible, horrible usability.

If you didn't read the first edition, then the content is worth overcoming the hurdles. If you own the first edition, you're better off keeping it, and finding some other book to highlight what changed in version 2.0.
Reference only - Consider ONLY if already good at XSLT - Review written on March 15, 2005
* *
Rating: 2 out of 5
3 customers found this review helpful, 2 did not.

The style of writing in this book makes it rather awkward for learning. Perhaps this is okay for a guru in XSLT, but I'm finding the book difficult to follow and more difficult to use.
The XSLT book - Review written on February 28, 2005
* * * *
Rating: 4 out of 5
1 customer found this review helpful.

The buyrer should be aware the XSLT 2.0 runs only on the authors parser. However, this book is the one to buy. Each chapter/command starts with "Whats new in 2.0" so you get two in one. I had no previous XSLT knowledge and this book is a complete refernce, with carefully chosen examples. Its the book every serious XML programmer should have.
5 Stars to Kay, 0 Stars to Wrox - Review written on December 19, 2004
* * *
Rating: 3 out of 5
4 customers found this review helpful.

As with the previous editions, Michael Kay has written a book whose content is of the highest quality. Being the editor of the W3C XSLT and XPath recommendations and the developer of one of the only XSLT 2.0 implementations in town makes Kay the ultimate authority on XSLT. He also writes in a style that is accessible to developers of almost any level (although this is not ideal as a beginner's book).

My big beef with the book is likely not Kay's fault. Being an author myself, I know how stubborn and pig headed publishers can be about their "style guidelines". Well, Wrox, your guidelines stink because this book is virtually impossible to use as a reference. Your font usage makes information impossibly hard to find by flipping pages. Your use of page headings is lame and unhelpful to the developer needing to find info fast.

In the end I have to recommend this book to XSLT 1.0 developers that need to get up to speed fast on XSLT 2.0 but it is too bad most of the profits are going to Wrox and not Kay.
GREAT For Experienced Readers, TERRIBLE For Beginners - Review written on November 21, 2004
* * *
Rating: 3 out of 5
43 customers found this review helpful, 7 did not.

It is difficult to give a numeric rating to this book because it depends on what kind of reader you are:
- If you have done little or no XSLT, and you want a book to efficiently explain how to start doing XSLT this is a TERRIBLE choice.
- If you are a beginner who wants to know every tiny detail of XSLT and has plenty of time to learn it, then this is a good choice.
- If you've already read an XSLT book, you are already comfortable with XSLT, and now you want to learn all the extra details the other authors thought wasn't important enough to include, then this is a GREAT choice.

This book almost reads like a specifiation. Although to be fair, I've read some specifications, like the EJB specification, that are more focused than this book. Any good trainer or training author knows that you have to organize your material to first put the emphasis on the central introductory concepts. Once your audience understands the basics, then you can build upon that foundation to explain the advanced topics. Along the way, you should always put the main focus on the most important topics, and just briefly mention extraneous details. Unfortunatley, this book does not organize the material for learning and covers everything with approximately the same emphasis. As just one example of this, Chapter 1 spends eight LONG pages on the history of XSLT including details like when so-and-so joined the specification team or presented a paper at a conference. What Chapter 1 does not do is give you any idea of how to write an XSLT sheet. I plodded my way through the first two chapters wondering when we'd get past all the gory details to a description of how to write an introductory XSLT sheet. Finally, I had enough and looked through the book trying to find how far I should jump ahead to find the introductory section, and realized it didn't exist. All the basics are interspersed with endless details throughout the book.
To be fair, the book calls itself a "programmer's reference." So one could argue that it shouldn't be designed to learn XSLT. However, trying to use this book as a reference would be equally probelmatic because its too hard to find the important information among all the extraneous details.
So if you already know XSLT well and want to know all the extra details, I truly do highly recommend this book. But if you want to learn XSLT in a resonable amount of time, I strongly recommend against this book.
Difficult reference to use - Review written on October 24, 2004
* * *
Rating: 3 out of 5

I have three main problems using this book for the last few weeks on my first serious attempt to use xslt on a non-trivial problem.

The first is the most minor and is that the graphics are really poor. This is true for almost every one in the document, but if you have a chance to look at the book, check out page 56 for example. They are not what I would consider production-quality graphics. The extreme amount of aliasing makes the small font used in these diagrams almost unreadable. I don't understand how this could have been judged acceptable by the publishers.

Second is that it is very hard to find things in this book. Chapter 5 is the alphabetical reference for the xslt elements. The header at the top of the page does not list the element that is being described on the page. Also the font and style for the element headings are no different for their subheadings. This means there is no easy way to navigate this 300+ page section by flipping through it to find what you need. Whenever you want to find something, you have to go to the index first...

which is the second problem with trying to find things. The index itself is poor. When I first got the book, I read it from cover to cover (except for chapters 5 and 7 which are alphabetical reference sections). As I have been trying to use this book as a reference, I remember paragraphs or tables that I want to look at again, but I can't find them from the index. For example, I knew there was a table somewhere that listed all the different axes and I wanted to find it to get the exact name of an axis I wanted to use. The word "axis" (or "axes") is not in the index at all.

I am using this book daily and am finding myself frustrated every day with similar problems trying to find something that I know is in the book, but can't get to directly from the index. More than once I have resorted to flipping page-by-page through the book to find what I am looking for. At nearly 900 pages, it gets old really fast.

My third problem with the book stems from his statement in the introduction that "Since XSLT 2.0 has such a strong dependence on XPath 2.0, you really need both books..." where he is referring to his XPath book. He is not joking when he says that. It doesn't say that explicitly on the cover or on the web page description. But you can't go far in the book without finding a statement that what you are looking for is explained in a chapter of his XPath book. Maybe that is more true for me, as a newcomer to both, but it is different from his previous edition and something you should be aware of.

On the positive side, the book is comprehensive (within the bounds of its purposeful exclusion of XPath). I do not recommend it as an introductory text. The introduction acknowledges it is not meant as a tutorial. From my experience, it is downright unfriendly to xslt newbies.

I was able to get "The XSL Companion" by Neil Bradley from my library and found it to explain things better. I have read good things about Jeni Tennison's books and am waiting to check out her upcoming "Beginning XSLT 2.0".
No other book on XSLT is as good - Review written on October 22, 2004
* * * * *
Rating: 5 out of 5
14 customers found this review helpful, 5 did not.

There is no better book on XSLT. No matter if you want to learn XSLT from scratch, or have a long-term reference for the XSLT syntax. This book is the bible for XSLT users. The original book covered the 1.0 standard. This book extends that to support both 1.0 and 2.0 in the same book.

There are two large pieces to the book. The first piece covers the basics of XSLT, with a tag-by-tag reference to the language, as well as XPath in the same manner. Both of these start with introductions that make it easy for novices to pick up the language. The second piece covers design patterns for templates then brings the whole work together into case study sections.

XSLT is an invaluable tool for anyone who works with XML. Once you understand it you will never want to be without it. This book is the best way to learn XSLT, and the best reference for those who already know XSLT. Period.
For the wannabe guru. - Review written on October 11, 2004
* * * * *
Rating: 5 out of 5
1 customer found this review helpful, 2 did not.

This book aims to provide complete coverage rather than a tutorial and the author explains in both detail and depth. A chapter on stylesheet design patterns is followed by 3 comprehensive case studies that explore 3 different types of problems and their solutions. The book is written in a clear and comprehesive style. The differences between 2.0 and 1.0 specifications are also also discussed.

The code examples and solutions to the use cases are downloadable from the wrox website. This book is destined to be at the elbow of most XLST programmer and is definitely worth owning.