HAPPY BOOKSGIVING
Use code BOOKSGIVING during checkout to save 40%-55% on books and eBooks. Shop now.
Register your product to gain access to bonus material or receive a coupon.
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.
Location Steps and Paths in XPath
Introduction.
What's in This Book? Who This Book Is For. Conventions Used in This Book. Source Code.
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.
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.
Understanding Location Steps and Paths. Using the XPath Axes. Creating Compound Location Paths. In Brief.
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.
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.
Data Access Using XPath. Introducing XLinks. Introducing XPointers. Introducing XQuery. In Brief.
What's New in XPath 2.0? Creating Some XPath 2.0 Examples. Understanding the XPath Data Model. In Brief.
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.
Introducing the XPath 2.0 Functions. Using Accessor Functions. Using the fn:error Function. Using Context Functions. Using Numeric Functions. In Brief.
Working on Strings. Unicode Code Point Functions. Using Pattern Matching. In Brief.
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.
Using Node Functions. The XPath 2.0 Sequence Functions. In Brief.