Buying Options
XSLT, Second Edition
Print $49.99
Add to Cart
Print+Ebook $54.99
Add to Cart
Ebook $39.99
(PDF)
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £38.50
Add to Cart
What is this?

Product Editions

  1. XSLT, Second Edition - June 2008
  2. XSLT - August 2001
Description
After months of anticipation and delay, the W3C finally released the XSLT 2.0 standard in January 2007. The updated edition of this book offers practical, real-world examples that demonstrate how you can apply XSLT stylesheets to XML data using either the new specification, or the older XSLT 1.0 standard. Want to find out how the 2.0 specification improves on the old? This book will explain.
Full Description
Table of Contents
  1. Chapter 1 Getting Started

    1. The Design of XSLT

    2. XML Basics

    3. Installing XSLT Processors

    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. Datatypes

    5. XPath Operators

    6. [2.0] Comments in XPath Expressions

    7. [2.0] Types of XSLT 2.0 Processors

    8. The XPath View of an XML Document

    9. Summary

  4. Chapter 4 Creating Output

    1. Goals of This Chapter

    2. Generating Text

    3. Numbering Things

    4. Formatting Decimal Numbers

    5. [2.0] Formatting Dates and Times

    6. Using <xsl:copy> and <xsl:copy-of>

    7. Dealing with Whitespace

    8. Summary

  5. Chapter 5 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. Summary

  6. Chapter 6 Creating Links and Cross-References

    1. Using the XML ID, IDREF, and IDREFS Datatypes

    2. XSLT’s Key Facility

    3. Generating Links in Unstructured Documents

    4. Summary

  7. Chapter 7 Sorting and Grouping Elements

    1. Sorting Data with <xsl:sort>

    2. [2.0] The <xsl:perform-sort> Element

    3. Grouping Nodes

    4. [2.0] New Grouping Syntax in XSLT 2.0

    5. Summary

  8. Chapter 8 Combining Documents

    1. The document⁠(⁠ ⁠) Function

    2. The document⁠(⁠ ⁠) Function and Sorting

    3. Implementing Lookup Tables

    4. Grouping Across Multiple Documents

    5. [2.0] Using XSLT 2.0 to Simplify Things

    6. [2.0] The doc⁠(⁠ ⁠) and doc-available⁠(⁠ ⁠) Functions

    7. [2.0] The collection⁠(⁠ ⁠) Function

    8. [2.0] The unparsed-text⁠(⁠ ⁠) and unparsed-text-available⁠(⁠ ⁠) Functions

    9. Summary

  9. Chapter 9 Extending XSLT

    1. The XSLT Extension Mechanism

    2. [2.0] Creating New Functions with <xsl:function>

    3. Example: Generating Multiple Output Files

    4. Creating Custom Collations

    5. Generating Hidden Word Graphics

    6. Example: Generating an SVG Pie Chart

    7. Writing Extensions in Other Languages

    8. Using Extension Functions from the EXSLT Library

    9. Accessing a Database with an Extension Element

    10. Creating a Photo Album with an Extension Element

    11. Summary

  1. Appendix XSLT Reference

  2. Appendix XPath Reference

    1. XPath Node Types

    2. XPath Node Tests

    3. XPath Axes

    4. The XPath Context

    5. XPath 1.0 Datatypes

    6. [2.0] XPath 2.0 Datatypes

    7. Operators and Keywords

    8. Operator Precedence—XPath 1.0

    9. [2.0] Operator Precedence—XQuery 1.0 and XPath 2.0

  3. Appendix XSLT, XPath, and XQuery Function Reference

    1. Kinds of Functions

  4. Appendix XML Schema Overview

    1. Declaring Elements and Attributes

    2. Defining Datatypes

    3. Using an XML Schema in a Stylesheet

  5. Appendix [2.0] Regular Expressions

    1. Simple Expressions

    2. Subexpressions

    3. Quantifiers

    4. [XPath] Reluctant Quantifiers

    5. Processing Modes

    6. [XPath] Anchors

    7. Back-references

    8. Metacharacters

    9. Single-Character Escapes

    10. Multiple-Character Escapes

    11. Character Groups

  6. Appendix XSLT Formatting Codes

    1. Formatting Codes for Numbers

    2. Formatting Codes for Dates and Times

  7. Appendix XSLT 2.0 Migration Guide

    1. Powerful New Features in XSLT 2.0 and XPath 2.0

    2. Potential Errors

    3. Approaches to Migration

  8. Glossary

  9. Colophon

View Full Table of Contents
Product Details
Title:
XSLT, Second Edition
By:
Doug Tidwell
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
June 2008
Ebook Release:
June 2009
Pages:
992
Print ISBN:
978-0-596-52721-1
| ISBN 10:
0-596-52721-7
Ebook ISBN:
978-0-596-15952-8
| ISBN 10:
0-596-15952-8
Customer Reviews
Colophon

The animal on the cover of XSLT, Second Edition, is a Jabiru (Jabiru mycteria). 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, and it feeds on freshwater wildlife such as frogs, fish, and even snakes. Its plumage is mostly white, but its head, neck, and beak are jet black. A featherless red pouch at the base of its neck gives the Jabiru its name, which means "swollen neck" in the Tupi-Guarani language.

The Jabiru population has steadily decreased over the past decades due to hunting and deforestation, but some areas of Central America have seen a recovery in the bird's numbers. It is currently considered a species of least concern by the World Conservation Union, an improvement from a status of near-threatened in 1988.

The cover image is an original antique engraving from the 19th century. The cover font is Adobe's ITC Garamond. The text font is Linotype Birka, the heading font is Adobe Myriad Condensed, and the code font is LucasFont's TheSansMonoCondensed.

  • Book cover of XSLT