XPath 2.0 and XSLT 2.0

Table of Contents

Table of Contents
Introduction
Speaker Qualifications
Background Material
Specifications
Fitting the Pieces Together
Data Model
Functions and Operators
Language Semantics
Static Semantics
Language Semantics (Continued)
A Running Example
Do You Need a Schema?
RecipeList
Servings
Recipe
Recipe Subtypes
Recipe Elements
Prose Types
Prose Elements
IngredientList
Ingredient
XPath 2.0
XML Schema Type System
XML Schema Type System (Continued)
Type Names and Type Matching
Atomization
New Types
New Duration Types
New Node Types
Element Tests (1)
Element Tests (2)
Element Test Examples
Schema Element Test
Attribute Tests
Type Errors
Sequences
“For” Expressions
“If” Expressions
“If” Example Questions
“If” Example Answers
instance of
treat as
cast as
castable as
General Comparisons
Value Comparisons
Node Comparisons
XSLT 2.0
Schema Support
Types
Declaring Types
Declaring Types (Continued)
Constructor Functions vs. “as”
Type Errors
Implicit Casting
Sorting and Collation
Regular Expression Functions
Regular Expression Instructions
Regular Expression Example
Grouping
Grouping By Key (Data)
Grouping By Key (Code)
Grouping By Key (Results)
Grouping By Starting Value (Data)
Grouping By Starting Value (Code)
Grouping By Starting Value (Results)
Grouping By Ending Value (Data)
Grouping By Ending Value (Code)
Grouping By Ending Value (Results)
Grouping By Adjacent Key Values (Data)
Grouping By Adjacent Key Values (Code)
Grouping By Adjacent Key Values (Results)
Functions
Function Example
Stylesheet Modularity
Next Match
Access to Result Trees
Result Documents
Sequences
Sequences (Continued)
Sequences (Continued)
Sequences (Continued)
Values, Copies, and Sequences
Sequence Separators
Formatting Dates
Character Maps
Creating Entities
Avoiding Disable Output Escaping
Avoiding D-O-E (Continued)
Compatibility
Challenges
Q: Function Results
A: Function Results
E: Function Results
Q: Counting Elements
A: Counting Elements
E: Counting Elements
Q: Matching Elements
A: Matching Elements
Q: Matching Elements 2
A: Matching Elements 2
Closing Thoughts
Is it Worth It?
Acknowledgements
References
Additional References