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 files--virtually 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 you're just starting out in XSLT or looking for advanced techniques, you'll find the level of information you need in XSLT Cookbook, Second Edition.
Inhaltsverzeichnis
Preface
Chapter 1: XPath
Chapter 2: Strings
Chapter 3: Numbers and Math
Chapter 4: Dates and Times
Chapter 5: Selecting and Traversing
Chapter 6: Exploiting XSLT 2.0
Chapter 7: XML to Text
Chapter 8: XML to XML
Chapter 9: Querying XML
Chapter 10: XML to HTML
Chapter 11: XML to SVG
Chapter 12: Code Generation
Chapter 13: Vertical XSLT Application Recipes
Chapter 14: Extending and Embedding XSLT
Chapter 15: Testing and Debugging
Chapter 16: Generic and Functional Programming
Colophon