Have one to sell? Sell yours here
The XSL Companion (2nd Edition)
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

The XSL Companion (2nd Edition) [Paperback]

Neil Bradley (Author)
3.9 out of 5 stars  See all reviews (19 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Paperback --  
Paperback, August 7, 2002 --  
Unknown Binding --  

Book Description

August 7, 2002 0201770830 978-0201770834 2
-- All features explained clearly with plenty of examples and illustrations.

-- Previous edition garnered great reviews.

-- XSL use growing, as use of XML continues to grow.

This guide explains the practical ways in which XSL can be used for formatting and manipulating information held in XML. The XSL standard has developed into three specific standards, all examined in detail - XSL, XSLT, and XPath. Together these form a powerful array of tools that allow you to control and optimize the formatting of your XML documents, and thus deliver content and information in a dynamic and flexible way. This book has been completely updated for the new XSLT standard, and has about 50% more coverage than the previous edition. It concludes with a reference to other formatting and stylesheet languages. If you are a current or potential XML user looking for just one reference to get you up to speed on styling and manipulating your XML documents with clarity, comprehensive coverage, and precision, then this book will be your essential and constant companion.


Editorial Reviews

Amazon.com Review

One of the most important technologies on the XML bandwagon is XSL, which really comprises separate XSL, XSLT, and Xpath standards. The XSL Companion provides in-depth coverage of XSL and XSLT--the core technologies behind the formatting of XML data.

This book focuses on the details of how XSLT in particular can be used to mold information on the fly. The author breaks the standard apart into digestible chapters that cover, say, "contextual formatting" and "sorting." The content is fast moving and demands a technical reader who is comfortable with complexity. Those who are new to XML technologies should pick up a general tutorial prior to tackling this book.

Along with text explanations of all of the magic that XSLT and XSL can do, the author uses code snippets and numerous graphical diagrams to illustrate information processing, layout, and tree navigation. These visual elements add much to the explanation of what otherwise would be abstract concepts indeed.

The author addresses head-on the fact that much of XSLT's job today is to turn XML data into HTML-formatted documents that are compatible with the current batch of browsers. There is plenty of focus in this book on how that is done, but the chief purpose remains the exploration of the powerful transformation and formatting features that the XSL standards provide. --Stephen W. Plain --This text refers to an out of print or unavailable edition of this title.

From the Inside Flap

This book covers a family of standards developed by W3C (the World Wide Web Consortium). These standards emerged out of a proposal for a stylesheet language, submitted in 1997, which was to be called 'XSL' (eXtensible Stylesheet Language). However, during its gestation, this proposal was eventually pulled apart into three separate standards. The first of these, XPath, defines a mechanism for locating information in XML documents, and it has many other uses beyond its role in formatting documents. The second, XSLT, provides a means for transforming XML documents into other data formats, including (but not limited to) formatting languages. Finally, the term 'XSL' is now properly used only to name a proposed standard for embedding formatting information in documents using XML elements.

These three standards are still related. Together, they provide a means to format XML documents. The XSLT standard includes XPath constructs in a number of places, and XSLT can be used to convert an XML document into an XSL document. But each can be used alone, or with alternative technologies. As the XSL formatting language is less mature than XSLT, and not yet well supported, it is recognised that XSLT will initially be used primarily to convert XML documents into HTML documents, possibly enhanced with CSS styling instructions. Both these formats are therefore explained in depth. However, the first half of this book concentrates on using XSLT as a general tool for processing XML, and the way that it uses XPath to find and manipulate components of an XML document.

0201674874P04062001 --This text refers to an out of print or unavailable edition of this title.


Product Details

  • Paperback: 480 pages
  • Publisher: Addison-Wesley Professional; 2 edition (August 7, 2002)
  • Language: English
  • ISBN-10: 0201770830
  • ISBN-13: 978-0201770834
  • Product Dimensions: 9.1 x 6.7 x 0.9 inches
  • Shipping Weight: 1.7 pounds
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (19 customer reviews)
  • Amazon Best Sellers Rank: #1,090,453 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
42 of 42 people found the following review helpful
Format:Paperback
This is an excellent way to learn XSLT. The progression of chapters makes it both easy and exciting to read, in anticipation of learning about even more of XSLT's features.

The book is well written, but there are at least a couple of typos in the examples. The description is generally clear enough that there will generally be no confusion (such as the ending "</xsl:test> tag on page 132, instead of "</xsl:if>" -- although the <if> tag typo on page 127 causes more confusion).

Filters, XPath expressions, and using named templates as subroutines are covered well, and many other useful tidbits are given, such as how to output in HTML format (no closing tags), passing comments through to the output file, and suppressing the output of unnecessary namespace declarations. Calling Java methods from XSLT is also covered.

I especially liked the explanation of how to reorganize input into a completely different order in the output, as well as how to insert content from other XML files.

The formatting language called "XSL" is also covered in detail in the last half of the book, if you have a need to learn it. Hopefully, browsers begin to support it soon.

The only material that I wanted to see covered that wasn't is how to perform arithmetic expressions (multiplication, division, and modulus, for example, although addition and subtraction are supported and examples are given).

This is the best XSLT reference that I've found, but beware that much of the examples do not work in Microsoft IE 5.0 (or even 5.5 -- even with the latest 3.0 msxml parser). There are several issues, one of which is that the "http://www.w3.org/1999/XSL/Transform" XSL namespace is not recognized and an older one must be used, instead). But the book references several parsers that *do* work with the latest XSLT spec, including XP and XT.

This is really a great book on XSLT, XPath, and XSL!

Comment | 
Was this review helpful to you?
34 of 34 people found the following review helpful
Converting XML documents October 13, 2002
Format:Paperback
Computing seems to have a propensity to generate an
awesome acronym soup; two examples being XSL and XSLT.
The difference between these is rather nuanced.
Frankly, for most purposes, I would consider them
interchangeable. But if you really want to know the
difference, this book does a neat job explaining.

Both have to do with manipulating XML documents. XSLT
transforms an XML document into another document. The
output can be XML, or any other format, with XHTML
being a popular choice. XSLT does not necessarily have
anything to do with presentation, per se. It is a
declarative language, like SQL, and unlike C or java,
which are procedural languages. If the latter is your
background, this may be your biggest impedence
mismatch. Takes some getting used to. But the text is
clearly written to help you along.

Pure XSL, on the other hand, is an XML based
formatting language. It is explicitly for displaying
documents. In fact, it draws many of its property
names and actions from CSS (Cascading Style Sheets).
This was done to let those familiar with the latter
pick up XSL quickly. There is a long chapter on XSL
that goes exhaustively through its many properties.
TeX and troff gurus will see numerous layout concepts
redone here in new flesh.

Overall, a very useful and up to date book. The
examples and accompanying text do succinctly convey
the meanings intended. This book has clarity. You are
not deluged in unnecessarily complicated explanations.

I do have some caveats. Firstly, tree diagrams are
drawn from left to right?! Those from a computer
science background are used to trees always being
drawn from top to bottom. A minor thing, but still a
little offputting. Like reading a book where all the
pages are in landscape mode, instead of portrait mode.

Secondly, XML is case sensitive, unlike HTML, as the
author points out. So, for example, <body> and <BODY>
mean the same thing in HTML. But <atag> and <ATAG> are
not the same in XML. The problem is that in many
places, the author writes a tag in a body of code, in
lower case, like <root>. But he then refers to it in
the text as Root, capitalised for emphasis. This can
be very confusing to an XML newcomer.

Lastly, many chapters could have done with problem
sets and possibly answers. I understand that this
would add to the book length. But it would greatly aid
the reader, by giving her something to attack, instead
of merely reading. Subject retention and all that.
Especially apropos because the subject lends itself to
explicit problem composition. Answers are objective;
not just some vague essay writing. Plus, unlike some
other software topics, the questions and answers can
be concisely stated. There is no need for a mass of
source code.

Comment | 
Was this review helpful to you?
25 of 26 people found the following review helpful
Format:Paperback
With index and all this book is just a tad over 300 pages. For the price you may be tempted to look to other books; I would urge you not to. After a in depth read of the first three chapters and a quick scan of the remaining chapters I feel this author is very capable of providing condensed information for the intermediate-advanced level developer. Any more than 300 pages would require unneeded "fluff" thrown in to attempt to make the book more useful to everyone, and would only frustrate the intermediate-advanced developer who's time is valuable.

For my needs this book was perfect. It povided very detailed information on XSL and explained how XSL relates to XSLT and XPath, it also explained XQL. If you pick up a general XML book you usually will only find one or two chapters (two at best) discussing XSL. This book is intended as a companion to a general XML book (XML For Dummies, or this authors own XML Companion come to mind) this book assumes you know what XML is, what a DTD is, etc...

I have searched for a book to teach XSL to perform complex filtering and grouping in the output, prior to reading this book I had read: XML for dummies (IDG Press) and Professional ASP XML (Wrox Press), this book goes into much better detail and is a pefect companion to both of the books listed above.

The authors writting style is excellent, he provides many short examples of input/processing and output code in each chapter. He does not hold your hand and many of his descriptions have to be read a few times to fully grasp (XSL isn't as simple as you may think). Overall I feel very comfortable in saying this is the best book (and one of the only books) on the market to fully explain current XSL standards.

Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
Not a good introduction
I am one of those who wish to pick up a book and be able to work with the technology in matter of hours, and this book is not the right one for it.
Published on November 21, 2007 by J.C.
The BEST book on XML related technologies ... PERIOD!
This is the best book I have ever read on XML related technologies. If you own just ONE book that wonderfully teaches this in's and out's of XSL as it relates to XML... Read more
Published on January 12, 2007 by B. Jones
Very helpful, and very clear.
This books presents XSL in nice bite-sized chapters that are clear, to-the-point, and illustrated with good examples. Read more
Published on June 2, 2005 by Jeffrey J. Breitman
Good, but not great
A reasonable work on XSL, but certainly not the best. This book is neither fully a reference or an introduction. Read more
Published on January 12, 2004 by Jack D. Herrington
a lot of knowledge in a simple and few words
I am working on my IBM XML exam and had to study "Professional XML" and other books.

I found out there are two types of computer books
1) one type can tell you the same... Read more

Published on January 23, 2003 by Javed Iqbal
Title and content match perfectly
For the XML developer this book is a perfect companion. It makes no real pretense to teach XSL, and if you're looking for such a book this is not it. Read more
Published on November 23, 2002 by Mike Tarrani
Step-by-step instructions, sample code & numerous examples
Now in an updated and expanded second edition, The XSL Companion by ISL expert Neil Bradley covers all the features of the new XSLT language standard, which has been established as... Read more
Published on November 8, 2002 by Midwest Book Review
Useless for learning
I'm an experienced web developer beginning to work heavily with XML. I bought this book based on the reviews here to help me get up to speed on XSL & XSLT. Read more
Published on September 15, 2002
Largely over-rated.
With so many excellent books on this topic, I am surprised at the positive score. This is a very poor book, both in terms of the lack of clarity of the examples - and the... Read more
Published on March 11, 2002
Just right!!
If you are frustrated with books that one chapter assumes you are an absolute beginner and the next that you are a seasoned programmer, you just struck gold. Read more
Published on January 18, 2001
Search Customer Reviews
Only search this product's reviews

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject