文档介绍:Sams Publishing : XPath: Navigating XML with XPath and Kick Start
Table Of Contents
1. Main Page 6
2. Table of content 6
3. Copyright 9
4. About the Author 12
5. Acknowledgments 12
6. We Want to Hear from You! 12
7. Foreword 13
8. Introduction 14
What's in This Book? 15
Who This Book Is For 16
Conventions Used in This Book 16
Source Code 17
9. Chapter 1. Essential XPath 17
Why XPath? 18
XPath in Overview 21
XPath Basics 23
Introducing Location Paths 24
XPath at Work 25
XPath with XSLT 33
XPath with XQuery 44
XPath with XPointer and XLink 45
XPath Resources 46
In Brief 47
10. Chapter 2. The XPath Data Model 48
Understanding the XPath Data Types 48
Understanding Nodes 51
Node Names 63
Node String Values 64
Document Order 65
Working with Node-Sets 67
XPath Node Trees 71
XPath and XML Infosets 77
DOM Level 3 XPath 78
In Brief 80
11. Chapter 3. Location Steps and Paths 80
Understanding Location Steps and Paths 80
Using the XPath Axes 94
pound Location Paths 114
In Brief 117
12. Chapter 4. XPath Functions and Operators 118
The XPath Boolean Operators and Functions 118
The XPath Numeric Operators and Functions 123
The XPath String Operators and Functions 128
The XPath Node-Set Operators and Functions 145
In Brief 155
13. Chapter 5. XPath with XSLT 156
Working with XSLT 156
Techniques for Performing XSLT Transformations 159
Creating Stylesheets 162
Understanding the 'match' and 'select' Attributes 169
Copying Nodes 170
Handling Whitespace 175
Making Choices with '<xsl:if>' and '<xsl:choose>' 182
Understanding the Default Template Rules 188
Displaying Messages While Processing XSLT Stylesheets 191
Setting Output Document Type 193
In Brief 194
14. Chapter 6. XPath with XPointer, XLink, and XQuery