Home > Store

XPath Kick Start: Navigating XML with XPath 1.0 and 2.0

Register your product to gain access to bonus material or receive a coupon.

XPath Kick Start: Navigating XML with XPath 1.0 and 2.0

eBook (Adobe DRM)

  • Sorry, this book is no longer in print.
  • About Adobe DRM eBooks
  • This eBook requires the free Adobe® Digital Editions software.

    Before downloading this DRM-encrypted PDF, be sure to:

    • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
    • Authorize your copy of Adobe Digital Editions using your Adobe ID (select AdobeID as the eBook vendor). If you don't already have an Adobe ID, you can create one here.
Not for Sale


  • Copyright 2004
  • Dimensions: 7-3/8" x 9-1/8"
  • Edition: 1st
  • eBook (Adobe DRM)
  • ISBN-10: 0-7686-6247-8
  • ISBN-13: 978-0-7686-6247-4

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.

Sample Content

Table of Contents


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.



Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership