Books & Videos

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 XSLT Reference

  2. Appendix XPath Reference

    1. XPath Node Types

    2. XPath Node Tests

    3. XPath Axes

    4. XPath Operators

    5. Datatypes

    6. The XPath Context

  3. Appendix XSLT and XPath Function Reference

  4. Appendix 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