About the Book
XPath is to XML as SQL
is to databases: XML applications need XPath to locate specific data within
an XML document for further processing with other XML applications such
as XSLT, XQuery, XPointer, XLink and DOM level 3. With XPath, these applications
offer developers a full toolkit for transforming, linking, and searching
XML data. Developers need to understand XPath to fully exploit XML in their
applications, and they have few resources beyond the W3C specification.
XPath Kick Start will examine every aspect of XPath in detail, including
its influence on and use with these other XML standards.
With each technique illustrated with
real-world examples, the book starts with coverage of the essentials of
XPath, including nodes, expressions, functions and operators. The second
half of the book details XPath in practice - from manipulating XML data
to transforming, linking and querying XML documents.
Related
Books
Kick Start Books (Kick
Start Books)
Table of Contents
Introduction.
What's in This Book?
Who This Book Is For.
Conventions Used in This Book.
Source Code.
1. Essential XPath.
Why XPath?
XPath in Overview.
XPath Basics.
Introducing Location Paths.
XPath at Work.
XPath with XSLT.
XPath with XQuery.
XPath with XPointer and XLink.
XPath Resources.
In Brief.
2. The XPath Data Model.
Understanding the XPath 1.0 Data Types.
Understanding Nodes.
Node Names.
Node String Values.
Document Order.
Working with Node-Sets.
XPath Node Trees.
XPath and XML Infosets.
DOM Level 3 XPath.
In Brief.
3. Location Steps and Paths.
Understanding Location Steps and Paths.
Using the XPath Axes.
Creating Compound Location Paths.
In Brief.
4. XPath 1.0 Functions and Operators.
The XPath Boolean Operators and Functions.
The XPath Numeric Operators and Functions.
The XPath String Operators and Functions.
The XPath Node-Set Operators and Functions.
In Brief.
5. XPath with XSLT.
Working with XSLT.
Techniques for Performing XSLT Transformations.
Creating Stylesheets.
Understanding the match and select
Attributes.
Copying Nodes.
Handling Whitespace.
Making Choices with <xsl:if> and
<xsl:choose>.
Understanding the Default Template
Rules.
Displaying Messages While Processing
XSLT Stylesheets.
Setting Output Document Type.
In Brief.
6. XPath with XPointer, XLink, and
XQuery.
Data Access Using XPath.
Introducing XLinks.
Introducing XPointers.
Introducing XQuery.
In Brief.
7. Introducing XPath 2.0.
What's New in XPath 2.0?
Creating Some XPath 2.0 Examples.
Understanding the XPath Data Model.
In Brief.
8. XPath 2.0 Expressions and Operators.
Creating Primary Expressions.
Creating Arithmetic Expressions.
Creating Path Expressions.
Creating Sequence Expressions.
Creating Comparison Expressions.
Creating Logical Expressions.
Creating for Expressions.
Creating Conditional Expressions.
Creating Quantified Expressions.
Creating Expressions That Work on
Types.
In Brief.
9. The XPath 2.0 Numeric, Constructor,
and Context Functions.
Introducing the XPath 2.0 Functions.
Using Accessor Functions.
Using the fn:error Function.
Using Context Functions.
Using Numeric Functions.
In Brief.
10. XPath 2.0 String Functions.
Working on Strings.
Unicode Code Point Functions.
Using Pattern Matching.
In Brief.
11. XPath 2.0 Boolean, QName, and
Date Functions.
Boolean Functions.
Functions That Work with Dates and
Times.
Functions That Extract Data from Date/Time
Values.
Functions That Adjust Time Zones.
Subtracting xs:dateTime Values.
Functions That Work with QNames.
In Brief.
12. XPath 2.0 Node and Sequence
Functions.
Using Node Functions.
The XPath 2.0 Sequence Functions.
In Brief.
Index. |