| |
| |
Introduction | |
| |
| |
Who Is This Book's Intended Audience? | |
| |
| |
What Do You Need to Know Before You Read This Book? | |
| |
| |
What Will You Learn from This Book? | |
| |
| |
What Software Will You Need to Complete the Examples Provided with This Book? | |
| |
| |
How This Book Is Organized | |
| |
| |
What's on the Sams Web Site for This Book | |
| |
| |
Conventions Used in This Book | |
| |
| |
| |
At a Glance | |
| |
| |
| |
Getting Started with XSLT | |
| |
| |
Overview of XSLT | |
| |
| |
How Does XSLT Work? | |
| |
| |
Creating XSLT Files | |
| |
| |
Processors for XML Transformation with XSLT | |
| |
| |
| |
Transforming Your First XML | |
| |
| |
Anatomy of a Stylesheet | |
| |
| |
Applying a Stylesheet to an XML Source | |
| |
| |
| |
Selecting Data | |
| |
| |
Understanding the XML Document Tree | |
| |
| |
Understanding XPath | |
| |
| |
| |
Using Templates | |
| |
| |
Understanding Templates | |
| |
| |
Creating and Using Templates | |
| |
| |
Determining Which Template Is Used | |
| |
| |
| |
Inserting Text and Elements | |
| |
| |
Inserting Text | |
| |
| |
Inserting Elements and Attributes | |
| |
| |
Copying Elements from the Source Document | |
| |
| |
Inserting Comments and Processing Instructions | |
| |
| |
| |
Conditional and Iterative Processing | |
| |
| |
Iterating Through a Node-Set | |
| |
| |
Conditional Processing | |
| |
| |
More About Expressions | |
| |
| |
Using Boolean Functions | |
| |
| |
| |
Controlling the Output | |
| |
| |
Creating Different Output Formats | |
| |
| |
Output Encoding and Output Escaping | |
| |
| |
Controlling Whitespace | |
| |
| |
Week 1. In Review | |
| |
| |
Overview of Bonus Project | |
| |
| |
| |
Creating an Article with a Table of Contents | |
| |
| |
| |
At a Glance | |
| |
| |
| |
Working with Variables | |
| |
| |
Understanding Variables | |
| |
| |
Creating and Using Variables | |
| |
| |
Creating Variables from Expressions | |
| |
| |
| |
Working with Parameters | |
| |
| |
Understanding Parameters | |
| |
| |
Using Parameters | |
| |
| |
| |
Understanding Data Types | |
| |
| |
Data Type Basics | |
| |
| |
Conversion Between Data Types | |
| |
| |
Comparing Values | |
| |
| |
| |
Working with Strings | |
| |
| |
Operations on Strings | |
| |
| |
Formatting Data | |
| |
| |
| |
Sorting and Numbering | |
| |
| |
Sorting | |
| |
| |
Numbering | |
| |
| |
| |
Working with Multifile Stylesheets | |
| |
| |
Using Multiple Stylesheets | |
| |
| |
Including Stylesheets | |
| |
| |
Importing Stylesheets | |
| |
| |
| |
Working with Multiple XML Sources | |
| |
| |
Accessing Other XML Sources | |
| |
| |
Accessing the Stylesheet Elements | |
| |
| |
Multidocument Pros and Cons | |
| |
| |
Week 2. In Review | |
| |
| |
Overview of Bonus Project | |
| |
| |
| |
Creating a Multifile Stylesheet with Parameters | |
| |
| |
| |
At A Glance | |
| |
| |
| |
Working with Namespaces | |
| |
| |
Understanding Namespaces | |
| |
| |
Processing XML Sources with Namespaces | |
| |
| |
Getting Namespace Information | |
| |
| |
Inserting and Removing Namespaces | |
| |
| |
| |
Advanced Data Selection | |
| |
| |
More About Expressions | |
| |
| |
Working with Keys | |
| |
| |
Working with Unique IDs | |
| |
| |
| |
Using Recursion | |
| |
| |
Understanding Recursion | |
| |
| |
Creating Recursive Templates | |
| |
| |
| |
Building Computational Stylesheets | |
| |
| |
Computational Stylesheets Explained | |
| |
| |
Op | |