UGN UGN books

Mastering XML Transformations


XSLT, Second Edition - New From O'Reilly

coverXML went from a strange new idea to entrenched buzzword in record time. Its flexibility as a language for presenting structured data made it the lingua franca for sending data across the web. Early adopters used a number of programming interfaces, such as the Document Object Model (DOM) and the Simple API for XML (SAX) to parse and process it, but as XML became mainstream, it was clear that the average web user couldn't be expected to hack Java, VB, Perl, or Python code simply to make sense of XML documents. "What was needed was a flexible, powerful, yet relatively simple language capable of processing XML," says Doug Tidwell, author of "XSLT". "What the world needed was XSLT."

And so, XSLT was born from the need to separate content from presentation on the web. It 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, a flat text file, a JPEG file, or most anything you want," explains Tidwell. "You write an XSLT stylesheet to define the rules for transforming an XML document, and the XSLT processor does the work."

In January, 2007, after much anticipation and delay, the W3C finally released the XSLT 2.0 standard. The new, second edition of this classic book offers practical examples that demonstrate how you can apply XSLT stylesheets to XML data using either the new specification, or the older XSLT 1.0 standard.

"XSLT" provides a thorough understanding of XSLT and XPath and their relationship to other web standards, along with recommendations for a honed toolkit in an open platform-neutral, standards-based environment. The book:
UGNN Alert - Covers the XSLT basics, including simple stylesheets and methods for setting up transformation engines
UGNN Alert - Walks readers through the many parts of XSLT, particularly XSLT's template-based approach to transformations
UGNN Alert - Applies both XSLT 1.0 and 2.0 solutions to the same problems, helping readers to decide which version of XSLT is more appropriate for their projects
UGNN Alert - Includes profuse examples that complement both the tutorial and the reference material

Tidwell says that the best review he received for the first edition of his book began, "I will never read this book." This was actually a positive review, as the reviewer went on to explain: "When I have a problem, I grab this book off the shelf, go to the index, and within five minutes, I've found the answer to my problem. Then I toss it back on the shelf."

And according to Tidwell, that's exactly the type of book he's tried to write. "There are hundreds of stylesheets in the book, including examples for every XSLT element, function, and operator defined by XSLT and XPath," he says. "The first chapters of the book are prose that explain how stylesheets work and what you need to learn to be productive with XSLT. Once you're comfortable with that material, you can use the rest of the book as a dictionary-style reference."

coverXSLT, Second Edition
Doug Tidwell
Download examples: XSLT-2E-examples.zip

O'Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O'Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying "faint signals" from the alpha geeks who are creating the future. An active participant in the technology community, the company has a long history of advocacy, meme-making, and evangelism.

UGNN Alert Found something really cool?

We'd love to hear about it and pass it along to all of our readers... just contact Lynn or Fred, or post your own review at our : review input forms ...
Get the InfoManager newsletter in your mailbox each Monday morning by subscribing at: mac-pro.net ...   del.icio.us del.icio.us...   InfoManager RSS

UGN Site Navigation:

Return to: the top of this page, or the INDEX for this department
Exit to: The User Group Network front page
Contact: The Editor, Webmaster or Membership Director
* Discuss Photoshop
* Discuss Desktop Publishing
* Critique your Web Site

CREDITS:
Reviewed by Fred Showker for the User Group Network News Service. (C) 2008, all rights reserved. Affiliate groups may freely republish this piece so long as they include the tag line: "From the User Group Network News Service at http://www.user-groups.net/ " ... Event dates are subject to change. Some products, programs, or promotions are not available outside the U.S. Prices are estimated retail prices and are listed in U.S. dollars. Product specifications are subject to change. Apple, the Apple logo, Mac, Mac OS, Macintosh, Power Mac, Velocity Engine, FireWire, AirPort, Safari, Sherlock, QuickTime, iLife, iTunes, iChat, iPhoto, iMovie, iDVD, iCal and Apple Store are either registered trademarks or trademarks of Apple. Other company and product names may be trademarks of their respective owners. Mention of third-party products is for informational purposes only and constitutes neither a recommendation nor an endorsement.

 

The User Group Network is a member of:, the MUG News, and is sponsored in part by: The Design & Publishing Center, The News Serve Network, and the Designers' Bookshelf. The User Group Network is the first, and the original user group network for computer users everywhere including, Apple, Mac-Pro, User Group Organization to support Macintosh, IBM PC, Microsoft, Compaq, Amiga, BE/OS, Linux, UNIX, and other leading computer platforms. Hosting services are provided by The Graphic Design Network to serve the computing community. For information about the UGNetwork, to get involved or have your own groups' home page located at user-groups.net, please contact us. Copyright 1994 through present. This site is maintained in the community interest by The Graphic Design Network c/o Showker Graphic Arts & Design, a Corporation of the Commonwealth of Virginia, Commonwealth of Virginia, 22801, Harrisonburg, VA, in the Shenandoah Valley of Virginia, established in 1972.

Valid HTML 4.01!