DTG News and Else
The Design Center / DT&G & Else / NEWS ITEM  

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.

.

Return to &Else News & Views. . .

.

Participate in your Design Center

Lots of fun and information for all... don't forget, any community is only as good as the participation of its members. We invite your tips, tricks, comments, suggestions and camaraderie.

Learning, training, tips, tricks, and moreThe Design Bookshelf team reads and reviews the best books for the creative visual designer, desktop publishing practitioner and visual communicator. If you want to know it -- we'll show you the very best way to learn it... in the Designer's Bookshelf

Get more out of your computer: join a user group - There are computer clubs around the world called "user groups" where you find fellow computer users ready and willing to share a wealth of information. If you're not a UG member, you should be.. find a group at the User Group Network

Photoshop FAQ - Got a question? Get an answer: in the Photoshop 911 FAQ if you don't find the answer there, you can ask your question or send your problem to the Photoshop 911 Team

Advertise your products or services among these pages! Call: 540-433-8402 for details.