Search

Table of Contents
Learning XSLT
BOOK:
Learning XSLT
Browse by Category
 
 
Hide Left Column
Learning XSLT
Learning XSLT
by Michael Fitzgerald

Publisher: O'Reilly Media, Inc.
Pub Date: November 14, 2003
Print ISBN-13: 978-0-596-00327-2
Pages: 368
Slots: 1.0
Start Reading
Buy Print Version
Overview

XSLT is a powerful language for transforming XML documents into something else. That something else can be an HTML document, another XML document, a Portable Document Format (PDF) file, a Scalable Vector Graphics (SVG) file, a Virtual Reality Modeling Language (VRML) file, Java code, or a number of other things. You write an XSLT stylesheet to define the rules for transforming an XML document, and the XSLT processor does the work. As useful as XSLT is, its peculiar characteristics make it a difficult language in which to get started. In fact, newcomers are often a little dazed on first contact. Learning XSLT offers a hands-on introduction to help them get up to speed with XSLT quickly. The book will help web developers and designers understand this powerful but often mystifying template-driven and functional-styled language, getting them over the many differences between XSLT and the more conventional programming languages. Learning XSLT moves smoothly from the simple to complex, illustrating all aspects of XSLT 1.0 through step-by-step examples that you'll practice as you work through the book. Thorough in its coverage of the language, the book makes few assumptions about what you may already know. You'll learn about XSLT's template-based syntax, how XSLT templates work with each other, and gain an understanding of XSLT variables. Learning XSLT also explains how the XML Path Language (XPath) is used by XSLT and provides a glimpse of what the future holds for XSLT 2.0 and XPath 2.0. The ability to transform one XML vocabulary to another is fundamental to exploiting the power of XML. Learning XSLT is a carefully paced, example-rich introduction to XSLT that will have you understanding and using XSLT on your own in no time.

 
Editorial Reviews
Product Description
Learning XSLT moves smoothly from the simple to complex, illustrating all aspects of XSLT 1.0 through step-by-step examples that you'll practice as you work through the book. Thorough in its coverage of the language, the book makes few assumptions about what you may already know. You'll learn about XSLT's template-based syntax, how XSLT templates work with each other, and gain an understanding of XSLT variables. Learning XSLT also explains how the XML Path Language (XPath) is used by XSLT and provides a glimpse of what the future holds for XSLT 2.0 and XPath 2.0. The ability to transform one XML vocabulary to another is fundamental to exploiting the power of XML. Learning XSLT is a carefully paced, example-rich introduction to XSLT that will have you understanding and using XSLT on your own in no time.
 
Reader Reviews From Amazon (Ranked by 'Helpfulness')
Average Customer Rating:based on 18 reviews.
Index is incomplete, 2007-07-23
Reviewer rating:
Mr. Fitzgerald specifically stated that he didn't intend for this book to be a comprehensive reference manual. But you would think that the index would provide a decent cross-reference of topics. Try looking up xsl:value-of, or xsl:for-each. You won't find them no matter what topic you search under. Usually OReilly does a great job explaining technical topics, but as with most XSLT books I've read, the examples are trite and provide minimal insite. I have to say I'm disappointed.
Trivia or Tutorial In Nature?, 2007-04-08
Reviewer rating:
Imagine you just bought a new car and stuck the keys in the ignition. Do you worry about every little minute detail of what's under the hood? Or do you just plant your foot down on the accelerator and drive?

Learning XSLT is one of those books that has a strange "hiccup" feel to it. Reading this book is like putting your foot down on the accelerator, only to have a chicken cross in front of you to slam on the brakes and then accelerate again. Only then, having another chicken cross and yet again slam on the brakes. Tutorials are meant to be smooth, uninterrupted reading. Learning XSLT is an abrupt stop and go journey that resulted in it being tossed into the far back shelf of my personal library.

For example, a really annoying feature in the book's layout are the icons and box comments. Frequently, they interrupt the flow causing switching of mental gears. Often too wordy, too detailed, and downright puzzling to why they even exist in the first place, they are anal and annoying. Surely the intricacies of QCNames, Code Points, Unicode, xml:lang attribute in every minute detail should have been removed out of this book.

As an example of how poorly this book reads, I point to page 9. The section is "Using apply-templates". Two pages later of long winded overanalysis (and yet another interruption with a large box comment regarding Unicode), we end up with a trivial six line example using apply-templates. Boldfaced and detached away from the original point of discussion. By this time, the reader is flipping pages to go back to recall what the entire section was about. That is the general feel of this book - a lack of cohesiveness.

After reading the first three chapters, I wondered where this book was heading. It read in scatter brained pieces and often too detailed for my liking - overly informative to be of any practical use. If you like getting bogged down in trivia minutiae, this is your book.

The examples were poor and unfufilling; rarely showing a big picture example in a larger, useful, practical context. Most of the people who pick up this book will want to transform XML into XHTML - which this book fails to address in a dedicated chapter.

Templates, the most important feature from a coding structure and development standpoint, is held off until Chapter 10. This should have been moved to earlier chapters, followed by discussion of axes, functions, XPATH, etc.

Learning XSLT does not to a very good job of organizing content for understanding and instruction. It definitely failed to hold my attention. Out of all the O'Reilly books I have, this one was not very useful and needs a total rewrite!
Not so good for me, 2007-03-31
Reviewer rating:
I bought this book after using the O'Reilly book "Web Design In A Nutshell". In general, I find the O'Reilly books to be pretty good. This book looked pretty good in the bookstore, too. After working with it, however, I found it difficult to get through and difficult to learn from. I used online sources to learn XSLT and used this book as a reference. When I learned something online and went back to this book, I was able to see what the author of this book was trying to explain. (I am not a web page beginner. I have worked in software development for a number of years. I have worked with HTML, Javascript, CSS, etc.)
Terrible book, 2006-07-31
Reviewer rating:
That such a poor quality book should come from O'Reilly is baffling. The book is very poorly organized, not covering templates--the basis of XSLT--until chapter 10! The author's examples are convoluted and unrevealing, and mostly seem to prove the point that his understanding of XSLT is far greater than yours. I got through the first three chapters and then gave up for a Sams book, which is much better.
A good introductory book on XSLT, 2006-05-20
Reviewer rating:
Learning XSLT was a helpful introduction to XSLT and I really enjoyed my progress through the book. Mr. Fitzgerald doesn't spend too much time on lengthy explanations. Simple explanations are followed by illustrative examples that you should type and run yourself.
 
Some information above was provided using data from Amazon.com. View at Amazon >
Learning XSLT
Learning XSLT
by Michael Fitzgerald

Publisher: O'Reilly Media, Inc.
Pub Date: November 14, 2003
Print ISBN-13: 978-0-596-00327-2
Pages: 368
Slots: 1.0
Start Reading
Buy Print Version
Company | Terms of Service | Privacy Policy | Contact Us | Help | 508 Compliance | Subscribe Now
© 2009 Safari Books Online. All rights reserved.