Buying Options
XSLT
Safari Books Online
Add to Cart
What is this?

Product Editions

Please consider the latest edition.

  1. XSLT, Second Edition - June 2008
  2. XSLT - August 2001
Description
XSLT (Extensible Stylesheet Transformations) is a critical bridge between XML processing and more familiar HTML, and dominates the market for conversions between XML vocabularies. Useful as XSLT is, its complexities can be daunting. Doug Tidwell, a developer with years of XSLT experience, eases the pain by building from the basics to the more complex and powerful possibilities of XSLT, so you can jump in at your own level of expertise.
Full Description
Table of Contents
  1. Chapter 1 Getting Started

    1. The Design of XSLT

    2. XML Basics

    3. Installing Xalan

    4. Summary

  2. Chapter 2 The Obligatory Hello World Example

    1. Goals of This Chapter

    2. Transforming Hello World

    3. How a Stylesheet Is Processed

    4. Stylesheet Structure

    5. Sample Gallery

    6. Summary

  3. Chapter 3 XPath: A Syntax for Describing Needles and Haystacks

    1. The XPath Data Model

    2. Location Paths

    3. Attribute Value Templates

    4. XPath Datatypes

    5. The XPath View of an XML Document

    6. Summary

  4. Chapter 4 Branching and Control Elements

    1. Goals of This Chapter

    2. Branching Elements of XSLT

    3. Invoking Templates by Name

    4. Parameters

    5. Variables

    6. Using Recursion to Do Most Anything

    7. A Stylesheet That Emulates a for Loop

    8. A Stylesheet That Generates a Stylesheet That Emulates a for Loop

    9. Summary

  5. Chapter 5 Creating Links and Cross-References

    1. Generating Links with the id() Function

    2. Generating Links with the key() Function

    3. Generating Links in Unstructured Documents

    4. Summary

  6. Chapter 6 Sorting and Grouping Elements

    1. Sorting Data with <xsl:sort>

    2. Grouping Nodes

    3. Summary

  7. Chapter 7 Combining XML Documents

    1. Overview

    2. The document() Function

    3. Invoking the document() Function

    4. More Sophisticated Techniques

    5. Summary

  8. Chapter 8 Extending XSLT

    1. Extension Elements, Extension Functions, and Fallback Processing

    2. Extending the Saxon Processor

    3. More Examples

    4. Summary

  9. Chapter 9 Case Study: The Toot-O-Matic

    1. About the Toot-O-Matic

    2. Design Goals

    3. Tutorial Layout

    4. XML Document Design

    5. XSLT Source Code

    6. Summary

  1. Appendix A XSLT Reference

  2. Appendix B XPath Reference

    1. XPath Node Types

    2. XPath Node Tests

    3. XPath Axes

    4. XPath Operators

    5. Datatypes

    6. The XPath Context

  3. Appendix C XSLT and XPath Function Reference

  4. Appendix D XSLT Guide

    1. How Do I Put Quotes Inside an Attribute Value?

    2. How Do I Convert All Attributes to Elements?

    3. How Do I List All the Elements in an XML Document?

    4. How Do I Implement an if Statement?

    5. How Do I Implement an if-else Statement?

    6. How Do I Implement a for Loop?

    7. How Do I Implement a case Statement?

    8. How Do I Group Elements in an XML Document?

    9. How Do I Group Elements Pulled from Multiple XML Documents?

    10. How Do I Combine XML Documents into a Single Master Document?

    11. How Do I Resolve Cross-References?

    12. How Do I Generate Some Text?

    13. How Do I Control Angle Brackets and Quote Marks in My Output?

  5. Glossary

  6. Colophon

View Full Table of Contents
Product Details
Title:
XSLT
By:
Doug Tidwell
Publisher:
O'Reilly Media
Formats:
  • Print
  • Safari Books Online
Print Release:
August 2001
Pages:
480
Print ISBN:
978-0-596-00053-0
| ISBN 10:
0-596-00053-7
Customer Reviews
About the Author
  1. Doug Tidwell

    Doug Tidwell is a senior programmer at IBM. He has more than a sixth of a century of programming experience, and has been working with markup languages for more than a decade. He was a speaker at the first XML conference in 1997, and has taught XML classes around the world. His job as a Cyber Evangelist is to look busy and to help people use new technologies to solve problems. Using a pair of zircon-encrusted tweezers, he holds a master's degree in computer science from Vanderbilt University and a bachelor's degree in English from the University of Georgia. He lives in Raleigh, North Carolina, with his wife, cooking teacher Sheri Castle (see her web site at http://www.sheri-inc.com) and their daughter Lily.

    View Doug Tidwell's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of XSLT is a jabiru. Standing up to five feet tall and with a wingspan of eight feet, this wading stork is the largest flying bird in the western hemisphere. The bird's habitat ranges from southern Mexico to northern Argentina, and much of its migrating population is found in Belize from November through July. Its habitat generally includes coastal areas, savannas, and marshes. The jabiru population has steadily decreased over the past decades due to hunting and deforestation, but some areas of Central America have seen a slow recovery in the bird's population. Ann Schirmer was the production editor and copyeditor for XSLT. Linley Dolby and Jeffrey Holcomb were the proofreaders. Claire Cloutier, Emily Quill, and Rachel Wheeler provided quality control. Brenda Miller wrote the index. Interior composition was done by Ann Schirmer. Emma Colby designed the cover of this book, based on a series design by Edie Freedman. The cover image is an original antique engraving from the 19th century. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.

David Futato designed the interior layout, based on a series design by Nancy Priest. This book was written entirely in XML. The book's print version was created by translating the XML source into a set of gtroff macros using a Perl filter developed by Norman Walsh. Erik Ray wrote extensions to the filter. Steve Talbott designed and wrote the underlying macro set on the basis of the GNU gtroff -ms macros; Lenny Muellner adapted them to XML and implemented the book design. The GNU groff text formatter Version 1.11 was used to generate PostScript output. The text and heading fonts are ITC Garamond Light and Garamond Book; the code font is Constant Willison. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Ann Schirmer.

  • Book cover of XSLT