Books & Videos

Table of Contents

  1. Chapter 1 Strings

    1. Testing if a String Ends with Another String

    2. Finding the Position of a Substring

    3. Removing Specific Characters from a String

    4. Finding Substrings from the End of a String

    5. Duplicating a String N Times

    6. Reversing a String

    7. Replacing Text

    8. Converting Case

    9. Tokenizing a String

    10. Making Do Without Regular Expressions

    11. Using the EXSLT String Extensions

  2. Chapter 2 Numbers and Math

    1. Formatting Numbers

    2. Rounding Numbers to a Specified Precision

    3. Converting from Roman Numerals to Numbers

    4. Converting from One Base to Another

    5. Implementing Common Math Functions

    6. Computing Sums and Products

    7. Finding Minimums and Maximums

    8. Computing Statistical Functions

    9. Computing Combinatorial Functions

    10. Testing Bits

  3. Chapter 3 Dates and Times

    1. Introduction

    2. Calculating the Day of the Week

    3. Determining the Last Day of the Month

    4. Getting Names for Days and Months

    5. Calculating Julian and Absolute Day Numbers from a Specified Date

    6. Calculating the Week Number for a Specified Date

    7. Working with the Julian Calendar

    8. Working with the ISO Calendar

    9. Working with the Islamic Calendar

    10. Working with the Hebrew Calendar

    11. Formatting Dates and Times

    12. Determining Secular and Religious Holidays

  4. Chapter 4 Selecting and Traversing

    1. Optimizing Node Selections

    2. Determining if Two Nodes Are the Same

    3. Ignoring Duplicate Elements

    4. Selecting All but a Specific Element

    5. Performing a Preorder Traversal

    6. Performing a Postorder Traversal

    7. Performing an In-Order Traversal

    8. Performing a Level-Order Traversal

    9. Processing Nodes by Position

  5. Chapter 5 XML to Text

    1. Dealing with Whitespace

    2. Exporting XML to Delimited Data

    3. Creating a Columnar Report

    4. Displaying a Hierarchy

    5. Numbering Textual Output

    6. Wrapping Text to a Specified Width and Alignment

  6. Chapter 6 XML to XML

    1. Converting Attributes to Elements

    2. Converting Elements to Attributes

    3. Renaming Elements or Attributes

    4. Merging Documents with Identical Schema

    5. Merging Documents with Unlike Schema

    6. Splitting Documents

    7. Flattening an XML Hierarchy

    8. Deepening an XML Hierarchy

    9. Reorganizing an XML Hierarchy

  7. Chapter 7 Querying XML

    1. Performing Set Operations on Node Sets

    2. Performing Set Operations on Node Sets Using Value Semantics

    3. Determining Set Equality by Value

    4. Performing Structure-Preserving Queries

    5. Joins

    6. Implementing the W3C XML Query-Use Cases in XSLT

  8. Chapter 8 XML to HTML

    1. Using XSLT as a Styling Language

    2. Creating Hyperlinked Documents

    3. Creating HTML Tables

    4. Creating Frames

    5. Creating Data-Driven Stylesheets

    6. Creating a Self-Contained HTML Transformation

    7. Populating a Form

  9. Chapter 9 XML to SVG

    1. Transforming an Existing Boilerplate SVG

    2. Creating Reusable SVG Generation Utilities for Graphs and Charts

    3. Creating a Tree Diagram

    4. Creating Interactive SVG-Enabled Web Pages

  10. Chapter 10 Code Generation

    1. Generating Constant Definitions

    2. Generating Switching Code

    3. Generating Message-Handling Stub Code

    4. Generating Data Wrappers

    5. Generating Pretty Printers

    6. Generating a Test Data-Entry Web Client

    7. Generating Test-Entry Web CGI

    8. Generating Code from UML Models via XMI

    9. Generating XSLT from XSLT

  11. Chapter 11 Vertical XSLT Application Recipes

    1. Converting Visio VDX Documents to SVG

    2. Working with Excel XML Spreadsheets

    3. Generating XTM Topic Maps from UML Models via XMI

    4. Generating Web Sites from XTM Topic Maps

    5. Serving SOAP Documentation from WSDL

  12. Chapter 12 Extending and Embedding XSLT

    1. Saxon Extension Functions

    2. Saxon Extension Elements

    3. Xalan Java 2 Extension Functions

    4. Java Extension Function Using the Class Format Namespace

    5. Java Extension Function Using the Package Format Namespace

    6. Java Extension Function Using the Java Format Namespace

    7. Scripting Extension Function Using Inline Script Code

    8. Xalan Java 2 Extension Elements

    9. Java Extension Element

    10. Scripting Extension Elements

    11. MSXML Extension Functions

    12. Using Saxon’s and Xalan’s Native Extensions

    13. Extending XSLT with JavaScript

    14. Adding Extension Functions Using Java

    15. Adding Extension Elements Using Java

    16. Using XSLT from Perl

    17. Using XSLT from Java

  13. Chapter 13 Testing and Debugging

    1. Using xsl:message Effectively

    2. Tracing the Flow of Your Stylesheet Through Its Input Document

    3. Automating the Insertion of Debug Output

    4. Including Embedded Unit Test Data in Utility Stylesheets

    5. Structuring Unit Tests

    6. Testing Boundary and Error Conditions

  14. Chapter 14 Generic and Functional Programming

    1. Introduction

    2. Creating Polymorphic XSLT

    3. Creating Generic Element Aggregation Functions

    4. Creating Generic Bounded Aggregation Functions

    5. Creating Generic Mapping Functions

    6. Creating Generic Node-Set Generators

  1. Colophon