XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition

BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
6.57Mb size Format: txt, pdf, ePub

Table of Contents

Title Page

Copyright

Dedication

About the Author

Credits

Acknowledgments

Introduction

Who This Book Is For

What This Book Covers

How This Book Is Structured

What You Need to Use This Book

Conventions

Downloading the Code

Errata

p2p.wrox.com

List of Examples

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 6

Chapter 12

Chapter 13

Chapter 15

Chapter 16

Chapter 17

Chapter 18

Chapter 19

Chapter 20

Appendix F

Part I: Foundations

Chapter 1: XSLT in Context

What Is XSLT?

How Does XSLT Transform XML?

The Place of XSLT in the XML Family

The History of XSL

XSLT 2.0 as a Language

Summary

Chapter 2: The XSLT Processing Model

XSLT: A System Overview

The XDM Tree Model

The Transformation Process

Error Handling

Variables and Expressions

Summary

Chapter 3: Stylesheet Structure

Changes in XSLT 2.0

The Modular Structure of a Stylesheet

The Element

The Processing Instruction

Embedded Stylesheets

Declarations

Instructions

Simplified Stylesheets

Writing Portable Stylesheets

Whitespace

Summary

Chapter 4: Stylesheets and Schemas

XML Schema: An Overview

Declaring Types in XSLT

Validating the Source Document

Validating the Result Document

Validating a Temporary Document

Validating Individual Elements

Validating Individual Attributes

The default-validation Attribute

Importing Schemas

Using xsi:type

Nillability

Summary

Chapter 5: Types

What Is a Type System?

Changes in 2.0

Sequences

Atomic Values

Atomic Types

Schema Types and XPath Types

The Type Matching Rules

Static and Dynamic Type Checking

Summary

Part II: XSLT and XPath Reference

Chapter 6: XSLT Elements

xsl:analyze-string

xsl:apply-imports

xsl:apply-templates

xsl:attribute

xsl:attribute-set

xsl:call-template

xsl:character-map

xsl:choose

xsl:comment

xsl:copy

xsl:copy-of

xsl:decimal-format

xsl:document

xsl:element

xsl:fallback

xsl:for-each

xsl:for-each-group

xsl:function

xsl:if

xsl:import

xsl:import-schema

xsl:include

xsl:key

xsl:matching-substring

xsl:message

xsl:namespace

xsl:namespace-alias

xsl:next-match

xsl:non-matching-substring

xsl:number

xsl:otherwise

xsl:output

xsl:output-character

xsl:param

xsl:perform-sort

xsl:preserve-space

xsl:processing-instruction

xsl:result-document

xsl:sequence

xsl:sort

xsl:strip-space

xsl:stylesheet

xsl:template

xsl:text

xsl:transform

xsl:value-of

xsl:variable

xsl:when

xsl:with-param

Summary

Chapter 7: XPath Fundamentals

Notation

Where to Start

Expressions

Lexical Constructs

Primary Expressions

Variable References

Parenthesized Expressions

Context Item Expressions

Function Calls

Conditional Expressions

The XPath Evaluation Context

Summary

Chapter 8: XPath: Operators on Items

Arithmetic Operators

Value Comparisons

General Comparisons

Node Comparisons

Boolean Expressions

Summary

Chapter 9: XPath: Path Expressions

Examples of Path Expressions

Changes in XPath 2.0

Document Order and Duplicates

The Binary
 /
Operator

Axis Steps

Rooted Path Expressions

The
 //
Abbreviation

Combining Sets of Nodes

Summary

Chapter 10: XPath: Sequence Expressions

The Comma Operator

Numeric Ranges: The
to
Operator

Filter Expressions

The
for
Expression

Simple Mapping Expressions

The
some
and
every
Expressions

Other books

A Touch of Passion by Bronwen Evans
Full Body Contact by Carolyn McCray, Elena Gray
Payback Is a Mutha by Wahida Clark
The Apothecary by Maile Meloy
Dark Possession by Christine Feehan
School Lunch Politics by Levine, Susan
Her Dragon's Fire by Julia Mills
Botanicaust by Linsey, Tam
Miracle Beach by Erin Celello