• Complain

Sal Mangano - XSLT cookbook: solutions and examples for XML and XSLT developers

Here you can read online Sal Mangano - XSLT cookbook: solutions and examples for XML and XSLT developers full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2005, publisher: OReilly, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    XSLT cookbook: solutions and examples for XML and XSLT developers
  • Author:
  • Publisher:
    OReilly
  • Genre:
  • Year:
    2005
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

XSLT cookbook: solutions and examples for XML and XSLT developers: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "XSLT cookbook: solutions and examples for XML and XSLT developers" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Forget those funky robot toys that were all the rage in the 80s, XSLT (Extensible Stylesheet Transformations) is the ultimate transformer. This powerful language is expert at transforming XML documents into PDF files, HTML documents, JPEG filesvirtually anything your heart desires. As useful as XSLT is, though, most people have a difficult time learning its many peculiarities. And now Version 2.0, while elegant and powerful, has only added to the confusion.XSLT Cookbook, Second Edition wants to set the record straight. It helps you sharpen your programming skills and overall understanding of XSLT through a collection of detailed recipes. Each recipe breaks down a specific problem into manageable chunks, giving you an easy-to-grasp roadmap for integrating XSLT with your data and applications. No other XSLT book around employs this practical problem-solution-discussion format.In addition to offering code recipes for solving everyday problems with XSLT 1.0, this new edition shows you how to leverage the improvements found in XSLT 2.0, such as how to simplify the string manipulation and date/time conversion processes. The book also covers XPath 2.0, a critical companion standard, as well as topics ranging from basic transformations to complex sorting and linking. It even explores extension functions on a variety of different XSLT processors and shows ways to combine multiple documents using XSLT. Code examples add a real-world dimension to each technique.Whether youre just starting out in XSLT or looking for advanced techniques, youll find the level of information you need in XSLT Cookbook, Second Edition.

Sal Mangano: author's other books


Who wrote XSLT cookbook: solutions and examples for XML and XSLT developers? Find out the surname, the name of the author of the book and a list of all author's works by series.

XSLT cookbook: solutions and examples for XML and XSLT developers — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "XSLT cookbook: solutions and examples for XML and XSLT developers" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
XSLT Cookbook, 2nd Edition
Sal Mangano
Editor
Simon St. Laurent

Copyright 2009 O'Reilly Media, Inc.

OReilly Media SPECIAL OFFER Upgrade this ebook with OReilly for more - photo 1

O'Reilly Media

SPECIAL OFFER: Upgrade this ebook with OReilly

for more information on this offer!

Please note that upgrade offers are not available from sample content.

A Note Regarding Supplemental Files

Supplemental files and examples for this book can be found at http://examples.oreilly.com/9780596009748/. Please use a standard desktop web browser to access these files, as they may not be accessible from all ereader devices.

All code files or examples referenced in the book will be available online. For physical books that ship with an accompanying disc, whenever possible, weve posted all CD/DVD content. Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to .

Preface

ExtensibleStylesheet Language Transformations (XSLT) is a powerful technology for transformingXMLdocuments into other useful forms, butit is sometimes considered difficult to learn. Its template-basedapproach makes it a prime candidate for learning by example, and XSLTexamples are often easily repurposed. XSLT 2.0 greatly increases thepower and elegance of XSLT but also increases its complexity.

When I first began working with XSLT (and again when learning XSLT2.0), I longed for a cookbook that would accelerate my productivityby providing ready-made solutions to the challenges I faced. My firstexperience with such a book wasO'Reilly's PerlCookbook . This book was more influential to my reluctantlearning and ultimate appreciation of Perl than the original camelbook ( Programming Perl ) by LarryWall. I believecookbooks are important because most software developers are notsatisfied with simply figuring out how to make something work: theyare interested in mastering the technology and using the best-knowntechniques, and they want answers fast. There is no better way tomaster a subject than by borrowing from those who have alreadydiscovered better ways to do things.

Longing for a cookbook soon turned into a desire to write one,especially since I collected several useful recipessome thatwere developed by others and some that I created. However, I did notwant to write an XSLT book simply packaged in an alternate form; Iwanted to provide a useful resource that also highlighted someless-obvious ways to apply XSLT. In the process, I hoped to attractXML developers who have not yet been motivated to learn XSLT and who,in my opinion, are missing out on one of XML's bestproductivity tools. If you are one of these folks who has not yetexperienced XSLT, please bear with me for a few more paragraphs whileI pitch the value of XSLT and the role of this book in helping yourealize its potential.

XSLT is a language that lives simultaneously on the fringes and inthe mainstream of current software-development technology. Whileworking on the first edition of this project, I often found myselfexplaining to friends what XSLT was and why it was important enoughto spend time writing a whole book about it. These same friends hadheard of Java, Perl, and even XML, but not XSLT. I also observed anincreasing number of requests for XSLT assistance on XSLT mailinglists and more industry attention in the form of books, articles, andsophisticated XSLT development tools. The XSLT user base is clearlygrowing daily; however, many software professionals and technologyenthusiasts do not understand what it is and why it is important.With the release of new XSLT 2.0 implementations, I hope adoption ofXSLT will accelerate, but this is not certain, partly due tocompetition from XQuery 1.0 and other XML manipulation methodologies.One thing is certain: mastering XSLT 2.0 is a worthwhile endeavorbecause its use will certainly increase, even if it never explodes.Further, learning XSLT will give you a deeper insight into XMLprocessing even if you favor an alternative solution.

Although XSLT 1.0 is a mature language and XSLT 2.0 is not farbehind, I would still guess that more that half of all companies andindividuals working with XML do not use XSLT. Not so long ago, acolleague who is otherwise well-versed in all the latest technologiesdescribed XSLT as just another styling language. Thismisunderstanding is forgivable because XSLT advertises itself throughthe first three words in its name (Extended Stylesheet Language) andwith the keyword that begins most XSLT programs(xsl:stylesheet). However, the last word in theXSLTacronym, Transformations , is what makes XSLT soimportant and is what drew me to the language in the first place. Oneof my goals in writing this book is to show how XSLT is relevant to awide variety of problems. I also want to provide both novice andintermediate users of XSLT a one-stop shopping place for some of themost commonly requested XSLT techniques. Finally, I want to push theenvelope of what one can do with XSLT so current users can go evenfurther and the unconvinced can join the fold of highly productiveXML transformers.

Over the years, I have heard many sweeping statements about computerscience. Opinions like, "All computation is simplyfancy bit manipulation," "Computersare really just sophisticated number crunchers," or"Everything a computer does can be understood interms of symbol manipulation" are true to someextent. However, I would like to make a sweeping generalization of myown: "Every problem we solve with software can beunderstood in terms of transformations." Mastery ofcomputer science is mastery of transformation. Transformation is whatCPUs do, it is what algorithms do, and it is what software developersdo. And transformation is what XSLT does, at least when the input isXML (and sometimes when it is not). Of course, XSLT is not the onlytransformational game in town, and as with the thousands of languagesthat came before it, it is unclear whether it will evolve as anindependent language or be absorbed into the next"big thing." What is clear is thatthe ideas behind XSLT will not go away because many of these ideasare as old as computer science itself. This book helps the readermaster and apply these ideas to specific problems.

Structure of This Book

To make this book useful to the broadest possible audience, I haveretained most of the XSLT 1.0 solutions presented in the firstedition. To these, I have added XSLT 2.0 solutions when 2.0 provideda significantly simpler or more elegant solution to the same problem.I also occasionally show 2.0 solutions to problems that would havebeen next to impossible to solve in 1.0. I have used separatesubheadings to distinguish the 1.0 solution from the 2.0 solution. Ihope this makes it easy for readers interested in one or the other toeasily find what they are looking for. In a number of recipes, I donot provide a special 2.0 solution. Most of the time, this wasbecause I felt the 1.0 solution would work as well in 2.0 or becauseI felt a 2.0 solution was obvious or would add very little value. Isincerely hope my desire to save trees and time does not overlyfrustrate the reader in this regard.

Both XSLT 1.0 and 2.0 rest firmly on the foundation provided by XPath1.0 and 2.0, respectively. Some readers of the first edition took meto task for my lack of direct coverage of XPath. was created partly to appease them andpartly in response to the greater sophistication and complexity ofXPath 2.0.

One of transformation's most primitive forms is itsprocessingshows that almost anything one wants to do with strings can be donewithin the confines of XSLT and then shows how the new features of2.0 make it that much easier.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «XSLT cookbook: solutions and examples for XML and XSLT developers»

Look at similar books to XSLT cookbook: solutions and examples for XML and XSLT developers. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «XSLT cookbook: solutions and examples for XML and XSLT developers»

Discussion, reviews of the book XSLT cookbook: solutions and examples for XML and XSLT developers and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.