XSLT
By
Doug Tidwell
August 2001
Pages: 478
| Table of Contents
| Index
| Sample Chapter
| Colophon
Table of Contents
-
Chapter 1 Getting Started
-
The Design of XSLT
-
XML Basics
-
Installing Xalan
-
Summary
-
Chapter 2 The Obligatory Hello World Example
-
Goals of This Chapter
-
Transforming Hello World
-
How a Stylesheet Is Processed
-
Stylesheet Structure
-
Sample Gallery
-
Summary
-
Chapter 3 XPath: A Syntax for Describing Needles and Haystacks
-
The XPath Data Model
-
Location Paths
-
Attribute Value Templates
-
XPath Datatypes
-
The XPath View of an XML Document
-
Summary
-
Chapter 4 Branching and Control Elements
-
Goals of This Chapter
-
Branching Elements of XSLT
-
Invoking Templates by Name
-
Parameters
-
Variables
-
Using Recursion to Do Most Anything
-
A Stylesheet That Emulates a for Loop
-
A Stylesheet That Generates a Stylesheet That Emulates a for Loop
-
Summary
-
Chapter 5 Creating Links and Cross-References
-
Generating Links with the id() Function
-
Generating Links with the key() Function
-
Generating Links in Unstructured Documents
-
Summary
-
Chapter 6 Sorting and Grouping Elements
-
Sorting Data with <xsl:sort>
-
Grouping Nodes
-
Summary
-
Chapter 7 Combining XML Documents
-
Overview
-
The document() Function
-
Invoking the document() Function
-
More Sophisticated Techniques
-
Summary
-
Chapter 8 Extending XSLT
-
Extension Elements, Extension Functions, and Fallback Processing
-
Extending the Saxon Processor
-
More Examples
-
Summary
-
Chapter 9 Case Study: The Toot-O-Matic
-
About the Toot-O-Matic
-
Design Goals
-
Tutorial Layout
-
XML Document Design
-
XSLT Source Code
-
Summary
-
Appendix A XSLT Reference
-
Appendix B XPath Reference
-
XPath Node Types
-
XPath Node Tests
-
XPath Axes
-
XPath Operators
-
Datatypes
-
The XPath Context
-
Appendix C XSLT and XPath Function Reference
-
Appendix D XSLT Guide
-
How Do I Put Quotes Inside an Attribute Value?
-
How Do I Convert All Attributes to Elements?
-
How Do I List All the Elements in an XML Document?
-
How Do I Implement an if Statement?
-
How Do I Implement an if-else Statement?
-
How Do I Implement a for Loop?
-
How Do I Implement a case Statement?
-
How Do I Group Elements in an XML Document?
-
How Do I Group Elements Pulled from Multiple XML Documents?
-
How Do I Combine XML Documents into a Single Master Document?
-
How Do I Resolve Cross-References?
-
How Do I Generate Some Text?
-
How Do I Control Angle Brackets and Quote Marks in My Output?
-
Glossary
-
Colophon
Return to XSLT